home *** CD-ROM | disk | FTP | other *** search
/ InterCD 2000 September / september_2000.iso / intercd / root / ^Linux / cdrtools-1.10 / doc / mkisofs.man < prev    next >
Encoding:
Text File  |  2000-06-04  |  103.4 KB  |  2,179 lines

  1.  
  2.  
  3.  
  4. MKISOFS(8)           Maintenance Procedures            MKISOFS(8)
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      mkisofs - create  an  hybrid  ISO9660/JOLIET/HFS  filesystem
  10.      with optional Rock Ridge attributes.
  11.  
  12. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  13.      mmmmkkkkiiiissssooooffffssss [ ----aaaabbbbssssttttrrrraaaacccctttt _F_I_L_E ] [ ----aaaalllllllloooowwww----lllloooowwwweeeerrrrccccaaaasssseeee ] [   ---- aaaalllllllloooowwww----
  14.      mmmmuuuullllttttiiiiddddooootttt  ]  [ ----bbbbiiiibbbblllliiiioooo _F_I_L_E ] [ ----bbbb _e_l_t_o_r_i_t_o__b_o_o_t__i_m_a_g_e ] [ ----
  15.      eeeellllttttoooorrrriiiittttoooo----aaaalllltttt----bbbbooooooootttt ] [ ---- BBBB  _s_p_a_r_c__b_o_o_t__i_m_a_g_e__l_i_s_t  ]  [   ---- GGGG
  16.      _g_e_n_e_r_i_c__b_o_o_t__i_m_a_g_e ] [ ----gggguuuuiiii ] [ ----CCCC #,# ] [ ----hhhhaaaarrrrdddd----ddddiiiisssskkkk----bbbbooooooootttt ]
  17.      [ ----nnnnoooo----eeeemmmmuuuullll----bbbbooooooootttt ] [ ----nnnnoooo----bbbbooooooootttt ] [ ----bbbbooooooootttt----llllooooaaaadddd----sssseeeegggg ] [  ---- bbbbooooooootttt----
  18.      llllooooaaaadddd----ssssiiiizzzzeeee  ]  [   ----bbbbooooooootttt----iiiinnnnffffoooo----ttttaaaabbbblllleeee ] [ ----cccc _b_o_o_t__c_a_t_a_l_o_g ] [ ----
  19.      cccchhhheeeecccckkkk----oooollllddddnnnnaaaammmmeeeessss ] [ ----ccccooooppppyyyyrrrriiiigggghhhhtttt _F_I_L_E ] [ ----AAAA _a_p_p_l_i_c_a_t_i_o_n__i_d ] [
  20.       ---- ffff  ] [ ----dddd ] [ ----DDDD ] [ ----hhhhiiiiddddeeee _g_l_o_b ] [ ----hhhhiiiiddddeeee----lllliiiisssstttt _f_i_l_e ] [ ----
  21.      hhhhiiiiddddddddeeeennnn _g_l_o_b ] [ ----hhhhiiiiddddddddeeeennnn----lllliiiisssstttt _f_i_l_e ] [ ----hhhhiiiiddddeeee----jjjjoooolllliiiieeeetttt _g_l_o_b ] [
  22.      ---- hhhhiiiiddddeeee----jjjjoooolllliiiieeeetttt----lllliiiisssstttt  _f_i_l_e  ]  [  ----hhhhiiiiddddeeee----jjjjoooolllliiiieeeetttt----ttttrrrraaaannnnssss----ttttbbbbllll ] [ ----
  23.      hhhhiiiiddddeeee----rrrrrrrr----mmmmoooovvvveeeedddd ] [ ----iiiissssoooo----lllleeeevvvveeeellll _l_e_v_e_l ] [ ----JJJJ  ]  [   ---- jjjjcccchhhhaaaarrrrsssseeeetttt
  24.      _c_h_a_r_s_e_t  ]  [   ---- llll  ] [ ----LLLL ] [ ----lllloooogggg----ffffiiiilllleeee _l_o_g__f_i_l_e ] [ ----mmmmaaaaxxxx----
  25.      iiiissssoooo9999666666660000----ffffiiiilllleeeennnnaaaammmmeeeessss ] [ ----MMMM _p_a_t_h | _d_e_v_i_c_e ] [ ----nnnnoooobbbbaaaakkkk ] [  ---- nnnnoooo----
  26.      bbbbaaaakkkk  ] [ ----nnnnoooo----sssspppplllliiiitttt----ssssyyyymmmmlllliiiinnnnkkkk----ccccoooommmmppppoooonnnneeeennnnttttssss ] [ ----nnnnoooo----sssspppplllliiiitttt----ssssyyyymmmmlllliiiinnnnkkkk----
  27.      ffffiiiieeeellllddddssss ] [ ----ppppaaaadddd ] [ ----ppppaaaatttthhhh----lllliiiisssstttt _f_i_l_e ] [ ----pppp _p_r_e_p_a_r_e_r ]  [   ----
  28.      pppprrrriiiinnnntttt----ssssiiiizzzzeeee  ]  [ ----PPPP _p_u_b_l_i_s_h_e_r ] [ ----qqqquuuuiiiieeeetttt ] [ ----rrrr ] [ ----RRRR ] [ ----
  29.      rrrreeeellllaaaaxxxxeeeedddd----ffffiiiilllleeeennnnaaaammmmeeeessss ] [ ----ssssoooorrrrtttt _s_o_r_t _f_i_l_e ] [ ----ssssyyyyssssiiiidddd _I_D ] [ ----TTTT |
  30.       ---- ttttaaaabbbblllleeee----nnnnaaaammmmeeee  _T_A_B_L_E__N_A_M_E  ]  [   ----uuuuccccssss----lllleeeevvvveeeellll _l_e_v_e_l ] [ ----uuuusssseeee----
  31.      ffffiiiilllleeeevvvveeeerrrrssssiiiioooonnnn ] [ ----UUUU ] [ ----nnnnoooo----iiiissssoooo----ttttrrrraaaannnnssssllllaaaatttteeee ] [ ----vvvv ] [ ----VVVV _v_o_l_i_d
  32.      ] [ ----vvvvoooollllsssseeeetttt _I_D ] [ ----vvvvoooollllsssseeeetttt----ssssiiiizzzzeeee # ] [ ----vvvvoooollllsssseeeetttt----sssseeeeqqqqnnnnoooo # ] [ ----xxxx
  33.      _p_a_t_h ] [ ----eeeexxxxcccclllluuuuddddeeee----lllliiiisssstttt _f_i_l_e ] [ ----zzzz ] [ ----mmmm _g_l_o_b ] [ ----hhhhffffssss |  ----
  34.      aaaapppppppplllleeee ] [ ----mmmmaaaapppp _m_a_p_p_i_n_g__f_i_l_e ] [ ----mmmmaaaaggggiiiicccc _m_a_g_i_c__f_i_l_e ] [ ----pppprrrroooobbbbeeee
  35.      ] [ ----nnnnoooo----ddddeeeesssskkkkttttoooopppp ] [ ----mmmmaaaacccc----nnnnaaaammmmeeee ] [ ----bbbbooooooootttt----hhhhffffssss----ffffiiiilllleeee _d_r_i_v_e_r__f_i_l_e
  36.      [ ----ppppaaaarrrrtttt ] [ ----aaaauuuuttttoooo _A_u_t_o_S_t_a_r_t__f_i_l_e ] [ ----cccclllluuuusssstttteeeerrrr----ssssiiiizzzzeeee _s_i_z_e ] [
  37.      ----hhhhiiiiddddeeee----hhhhffffssss _g_l_o_b ] [ ---- hhhhiiiiddddeeee----hhhhffffssss----lllliiiisssstttt  _f_i_l_e  ]  [   ---- hhhhffffssss----vvvvoooolllliiiidddd
  38.      _h_f_s__v_o_l_i_d  ]  [  ----iiiiccccoooonnnn----ppppoooossssiiiittttiiiioooonnnn ] [ ----rrrrooooooootttt----iiiinnnnffffoooo _F_I_L_E [ ----pppprrrreeeepppp----
  39.      bbbbooooooootttt _F_I_L_E ] [ ----hhhhffffssss----ccccrrrreeeeaaaattttoooorrrr _C_R_E_A_T_O_R ] [ ----hhhhffffssss----ttttyyyyppppeeee _T_Y_P_E ] [  ----
  40.      ----ccccaaaapppp  ]  [   ---- ----nnnneeeettttaaaattttaaaallllkkkk ] [ --------ddddoooouuuubbbblllleeee ] [ --------eeeetttthhhheeeerrrrsssshhhhaaaarrrreeee ] [ ----
  41.      ----uuuusssshhhhaaaarrrreeee ] [ --------eeeexxxxcccchhhhaaaannnnggggeeee ] [ --------ssssggggiiii ] [ --------xxxxiiiinnnneeeetttt ] [ --------mmmmaaaaccccbbbbiiiinnnn  ]
  42.      [   ---- ----ssssiiiinnnngggglllleeee  ]  [  --------ddddaaaavvvveeee ] [ --------ssssffffmmmm ] ----oooo _f_i_l_e_n_a_m_e _p_a_t_h_s_p_e_c
  43.      [_p_a_t_h_s_p_e_c]
  44.  
  45. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  46.      mmmmkkkkiiiissssooooffffssss is effectively a pre-mastering program  to  generate
  47.      an ISO9660/JOLIET/HFS hybrid filesystem.
  48.  
  49.      mmmmkkkkiiiissssooooffffssss is capable of generating the SSSSyyyysssstttteeeemmmm UUUUsssseeee SSSShhhhaaaarrrriiiinnnngggg PPPPrrrroooo----
  50.      ttttooooccccoooollll rrrreeeeccccoooorrrrddddssss ((((SSSSUUUUSSSSPPPP)))) specified by the RRRRoooocccckkkk RRRRiiiiddddggggeeee IIIInnnntttteeeerrrrcccchhhhaaaannnnggggeeee
  51.      PPPPrrrroooottttooooccccoooollll.... This is used to further describe the files in  the
  52.      iso9660  filesystem to a unix host, and provides information
  53.      such as longer filenames, uid/gid, posix  permissions,  sym-
  54.      bolic links, block and character devices.
  55.  
  56.      If Joliet or HFS hybrid command line options are  specified,
  57.      mmmmkkkkiiiissssooooffffssss  will  create  additional  filesystem  meta data for
  58.      Joliet or HFS.  The file content in this case refers to  the
  59.      same  data  blocks  on  the  media.  It will generate a pure
  60.  
  61.  
  62.  
  63. Version 1.13a01      Last change: 1 May 2000                    1
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70. MKISOFS(8)           Maintenance Procedures            MKISOFS(8)
  71.  
  72.  
  73.  
  74.      ISO9660 filesystem unless the Joliet or HFS  hybrid  command
  75.      line options are given.
  76.  
  77.      mmmmkkkkiiiissssooooffffssss can generate a _t_r_u_e (or _s_h_a_r_e_d) HFS hybrid  filesys-
  78.      tem. The same files are seen as HFS files when accessed from
  79.      a Macintosh and as ISO9660 files when  accessed  from  other
  80.      machines. HFS stands for _H_i_e_r_a_r_c_h_i_c_a_l _F_i_l_e _S_y_s_t_e_m and is the
  81.      native file system used on Macintosh computers.
  82.  
  83.      As an alternative, mmmmkkkkiiiissssooooffffssss can generate the _A_p_p_l_e _E_n_t_e_n_s_i_o_n_s
  84.      _t_o _I_S_O_9_6_6_0 for each file. These extensions provide each file
  85.      with CREATOR, TYPE and certain Finder  Flags  when  accessed
  86.      from a Macintosh. See the HHHHFFFFSSSS MMMMAAAACCCCIIIINNNNTTTTOOOOSSSSHHHH FFFFIIIILLLLEEEE FFFFOOOORRRRMMMMAAAATTTTSSSS section
  87.      below.
  88.  
  89.      mmmmkkkkiiiissssooooffffssss takes a snapshot of a given directory tree, and gen-
  90.      erates a binary image which will correspond to an ISO9660 or
  91.      HFS filesystem when written to a block device.
  92.  
  93.      Each file written to the  iso9660  filesystem  must  have  a
  94.      filename  in the 8.3 format (8 characters, period, 3 charac-
  95.      ters, all upper case), even if Rock Ridge is in  use.   This
  96.      filename is used on systems that are not able to make use of
  97.      the  Rock  Ridge  extensions  (such  as  MS-DOS),  and  each
  98.      filename  in each directory must be different from the other
  99.      filenames in the same directory.  mmmmkkkkiiiissssooooffffssss generally tries to
  100.      form  correct  names  by  forcing the unix filename to upper
  101.      case and truncating as required, but often times this yields
  102.      unsatisfactory  results when there are cases where the trun-
  103.      cated names are not all unique.  mmmmkkkkiiiissssooooffffssss assigns  weightings
  104.      to  each  filename,  and if two names that are otherwise the
  105.      same are found the name with the lower priority  is  renamed
  106.      to  have  a 3 digit number as an extension (where the number
  107.      is guaranteed to be unique).  An example of  this  would  be
  108.      the  files  foo.bar  and  foo.bar.~1~ - the file foo.bar.~1~
  109.      would be written as FOO000.BAR;1 and the file foo.bar  would
  110.      be written as FOO.BAR;1
  111.  
  112.      When used with various HFS options, mmmmkkkkiiiissssooooffffssss will attempt  to
  113.      recognise  files  stored in a number of Apple/Unix file for-
  114.      mats and will copy the data and resource forks  as  well  as
  115.      any  relevant finder information. See the HHHHFFFFSSSS MMMMAAAACCCCIIIINNNNTTTTOOOOSSSSHHHH FFFFIIIILLLLEEEE
  116.      FFFFOOOORRRRMMMMAAAATTTTSSSS section below for more about  formats  mmmmkkkkiiiissssooooffffssss  sup-
  117.      ports.
  118.  
  119.      Note that mmmmkkkkiiiissssooooffffssss is not designed to  communicate  with  the
  120.      writer directly.  Most writers have proprietary command sets
  121.      which vary from one manufacturer to another, and you need  a
  122.      specialized tool to actually burn the disk.
  123.  
  124.      The ccccddddrrrreeeeccccoooorrrrdddd utility is a  utility  capable  of  burning  an
  125.      actual  disc.   The  latest version of ccccddddrrrreeeeccccoooorrrrdddd is available
  126.  
  127.  
  128.  
  129. Version 1.13a01      Last change: 1 May 2000                    2
  130.  
  131.  
  132.  
  133.  
  134.  
  135.  
  136. MKISOFS(8)           Maintenance Procedures            MKISOFS(8)
  137.  
  138.  
  139.  
  140.      from ftp://ftp.fokus.gmd.de/pub/unix/cdrecord
  141.  
  142.      Also you should know that most cd writers are very  particu-
  143.      lar about timing.  Once you start to burn a disc, you cannot
  144.      let their buffer empty before you are done, or you will  end
  145.      up  with  a  corrupt  disc.  Thus it is critical that you be
  146.      able to maintain an uninterrupted data stream to the  writer
  147.      for the entire time that the disc is being written.
  148.  
  149.      ppppaaaatttthhhhssssppppeeeecccc is the path of the directory tree to be copied into
  150.      the  iso9660  filesystem.   Multiple paths can be specified,
  151.      and mmmmkkkkiiiissssooooffffssss will merge the files found in all of the  speci-
  152.      fied path components to form the cdrom image.
  153.  
  154.      It is possible to graft the paths at points other  than  the
  155.      root  directory, and it is possible to graft files or direc-
  156.      tories onto the cdrom image with names different  than  what
  157.      they  have  in  the  source  filesystem.  This is easiest to
  158.      illustrate with a  couple  of  examples.    Let's  start  by
  159.      assuming  that  a local file ../old.lis exists, and you wish
  160.      to include it in the cdrom image.
  161.  
  162.  
  163.           foo/bar/=../old.lis
  164.  
  165.      will  include  the  file  old.lis  in  the  cdrom  image  at
  166.      /foo/bar/old.lis, while
  167.  
  168.           foo/bar/xxx=../old.lis
  169.  
  170.      will  include  the  file  old.lis  in  the  cdrom  image  at
  171.      /foo/bar/xxx.   The  same  sort  of  syntax can be used with
  172.      directories as well.  mmmmkkkkiiiissssooooffffssss will  create  any  directories
  173.      required such that the graft points exist on the cdrom image
  174.      - the directories do not need to appear in one of the paths.
  175.      Any  directories  that are created on the fly like this will
  176.      have permissions 0555 and appear to be owned by  the  person
  177.      running mkisofs.  If you wish other permissions or owners of
  178.      the intermediate directories, the  easiest  solution  is  to
  179.      create  real  directories  in  the  path  such  that mkisofs
  180.      doesn't have to invent them.
  181.  
  182.      mmmmkkkkiiiissssooooffffssss will also run on Win9X/NT4  machines  when  compiled
  183.      with        Cygnus'       cygwin       (available       from
  184.      http://sourceware.cygnus.com/cygwin/). Therefore most refer-
  185.      ences in this man page to _U_n_i_x can be replaced with _W_i_n_3_2.
  186.  
  187.  
  188. OOOOPPPPTTTTIIIIOOOONNNNSSSS
  189.      ----aaaabbbbssssttttrrrraaaacccctttt _F_I_L_E
  190.           Specifies the abstract file name.  This  parameter  can
  191.           also  be set in the file ....mmmmkkkkiiiissssooooffffssssrrrrcccc with ABST=filename.
  192.  
  193.  
  194.  
  195. Version 1.13a01      Last change: 1 May 2000                    3
  196.  
  197.  
  198.  
  199.  
  200.  
  201.  
  202. MKISOFS(8)           Maintenance Procedures            MKISOFS(8)
  203.  
  204.  
  205.  
  206.           If specified in both places, the command  line  version
  207.           is used.
  208.  
  209.      ----AAAA _a_p_p_l_i_c_a_t_i_o_n__i_d
  210.           Specifies a text string that will be written  into  the
  211.           volume  header.   This  should describe the application
  212.           that will be on the disc.  There is space on  the  disc
  213.           for  128 characters of information.  This parameter can
  214.           also be set in the file ....mmmmkkkkiiiissssooooffffssssrrrrcccc  with  APPI=id.   If
  215.           specified  in  both places, the command line version is
  216.           used.
  217.  
  218.      ----aaaalllllllloooowwww----lllloooowwwweeeerrrrccccaaaasssseeee
  219.           This options allows lower case characters to appear  in
  220.           iso9660 filenames.
  221.           This violates the ISO9660 standard, but it  happens  to
  222.           work on some systems.  Use with caution.
  223.  
  224.      ----aaaalllllllloooowwww----mmmmuuuullllttttiiiiddddooootttt
  225.           This options allows more than  one  dot  to  appear  in
  226.           iso9660  filenames.   A  leading dot is not affected by
  227.           this option, it may be allowed separately using the ---- LLLL
  228.           option.
  229.           This violates the ISO9660 standard, but it  happens  to
  230.           work on many systems.  Use with caution.
  231.  
  232.      ----bbbbiiiibbbblllliiiioooo _F_I_L_E
  233.           Specifies the bibliographic file name.  This  parameter
  234.           can   also   be   set   in  the  file  ....mmmmkkkkiiiissssooooffffssssrrrrcccc  with
  235.           BIBLO=filename.  If specified in both places, the  com-
  236.           mand line version is used.
  237.  
  238.      ----bbbb _e_l_t_o_r_i_t_o__b_o_o_t__i_m_a_g_e
  239.           Specifies the path and filename of the boot image to be
  240.           used  when making an "El Torito" bootable CD. The path-
  241.           name must be relative to the source path  specified  to
  242.           mmmmkkkkiiiissssooooffffssss.... This option is required to make an "El Torito"
  243.           bootable CD.  The boot image must be exactly  the  size
  244.           of  either  a  1.2,  1.44,  or  a  2.88 meg floppy, and
  245.           mmmmkkkkiiiissssooooffffssss will use this size  when  creating  the  output
  246.           iso9660  filesystem.  It  is assumed that the first 512
  247.           byte sector should be read from the boot image  (it  is
  248.           essentially  emulating  a  normal  floppy drive).  This
  249.           will work, for example, if the boot  image  is  a  LILO
  250.           based boot floppy.
  251.  
  252.      ----eeeellllttttoooorrrriiiittttoooo----aaaalllltttt----bbbbooooooootttt
  253.           Start with a new set of "El  Torito"  boot  parameters.
  254.           This  allows  to have more than one El Torito boot on a
  255.           CD.  A maximum of 63 El Torito boot entries may be  put
  256.           on a songle CD.
  257.  
  258.  
  259.  
  260.  
  261. Version 1.13a01      Last change: 1 May 2000                    4
  262.  
  263.  
  264.  
  265.  
  266.  
  267.  
  268. MKISOFS(8)           Maintenance Procedures            MKISOFS(8)
  269.  
  270.  
  271.  
  272.      ----BBBB _i_m_g__s_u_n_4,_i_m_g__s_u_n_4_c,_i_m_g__s_u_n_4_m,_i_m_g__s_u_n_4_d,_i_m_g__s_u_n_4_e
  273.           Specifies a comma separated list of  boot  images  that
  274.           are  needed  to  make  a bootable CD for sparc systems.
  275.           There may be empty fields in the comma separated  list.
  276.           This  option  is required to make a bootable CD for Sun
  277.           sparc systems.  If the ----BBBB or  ---- ssssppppaaaarrrrcccc----bbbbooooooootttt  option  has
  278.           been specified, the first sector of the resulting image
  279.           will contain a Sun disk label. This disk  label  speci-
  280.           fies  slice  0  for  the  iso9660 image and slice 1 ...
  281.           slice 7 for the boot images that  have  been  specified
  282.           with  this option. Byte offset 512 ... 8191 within each
  283.           of the additional boot images must  contain  a  primary
  284.           boot that works for the appropriate sparc architecture.
  285.           The rest of each of the images usually contains an  ufs
  286.           filesystem that is used primary kernel boot stage.
  287.  
  288.           The implemented boot method is the  boot  method  found
  289.           with  SunOS  4.x  and  SunOS 5.x.  However, it does not
  290.           depend on SunOS internals but only on properties of the
  291.           Open  Boot  prom.  For this reason, it should be usable
  292.           for any OS that boots off a sparc system.
  293.  
  294.           If the special filename ............ is used, the actual and all
  295.           following  boot  partitions  are mapped to the previous
  296.           partition. If mmmmkkkkiiiissssooooffffssss is called with ----GGGG _i_m_a_g_e  ---- BBBB  ...
  297.           all  boot  partitions  are mapped to the partition that
  298.           contains the iso9660 filesystem image and  the  generic
  299.           boot  image  that is located in the first 16 sectors of
  300.           the disk is used for all architectures.
  301.  
  302.      ----GGGG _g_e_n_e_r_i_c__b_o_o_t__i_m_a_g_e
  303.           Specifies the path and filename  of  the  generic  boot
  304.           image  to  be  used  when making a generic bootable CD.
  305.           The ggggeeeennnneeeerrrriiiicccc____bbbbooooooootttt____iiiimmmmaaaaggggeeee will be placed on the  first  16
  306.           sectors of the CD. The first 16 sectors are the sectors
  307.           that are located  before  the  iso9660  primary  volume
  308.           descriptor.  If this option is used together with the ----
  309.           ssssppppaaaarrrrcccc----bbbbooooooootttt option, the Sun disk label will overlay  the
  310.           first 512 bytes of the generic boot image.
  311.  
  312.      ----hhhhaaaarrrrdddd----ddddiiiisssskkkk----bbbbooooooootttt
  313.           Specifies that the boot image used to create  "El  Tor-
  314.           ito"  bootable  CDs is a hard disk image. The hard disk
  315.           image must begin with a master boot  record  that  con-
  316.           tains a single partition.
  317.  
  318.      ----nnnnoooo----eeeemmmmuuuullll----bbbbooooooootttt
  319.           Specifies that the boot image used to create  "El  Tor-
  320.           ito" bootable CDs is a 'no emulation' image. The system
  321.           will load and execute this image without performing any
  322.           disk emulation.
  323.  
  324.  
  325.  
  326.  
  327. Version 1.13a01      Last change: 1 May 2000                    5
  328.  
  329.  
  330.  
  331.  
  332.  
  333.  
  334. MKISOFS(8)           Maintenance Procedures            MKISOFS(8)
  335.  
  336.  
  337.  
  338.      ----nnnnoooo----bbbbooooooootttt
  339.           Specifies that the created "El  Torito"  CD  should  be
  340.           marked as not bootable. The system will provide an emu-
  341.           lated drive for the image, but will boot off a standard
  342.           boot device.
  343.  
  344.      ----bbbbooooooootttt----llllooooaaaadddd----sssseeeegggg _s_e_g_m_e_n_t__a_d_d_r_e_s_s
  345.           Specifies the load segment address of  the  boot  image
  346.           for no-emulation "El Torito" CDs.
  347.  
  348.      ----bbbbooooooootttt----llllooooaaaadddd----ssssiiiizzzzeeee _l_o_a_d__s_e_c_t_o_r_s
  349.           Specifies the number of "virtual" (512-byte) sectors to
  350.           load  in no-emulation mode.  The default is to load the
  351.           entire boot file.  Some BIOSes  may  have  problems  if
  352.           this is not a multiple of 4.
  353.  
  354.      ----bbbbooooooootttt----iiiinnnnffffoooo----ttttaaaabbbblllleeee
  355.           Specifies that a 56-byte table with information of  the
  356.           CD-ROM  layout  will  be  patched in at offset 8 in the
  357.           boot file.  If this option is given, the boot  file  is
  358.           modified in the source filesystem, so make sure to make
  359.           a copy if this file cannot be easily regenerated!   See
  360.           the EEEELLLL TTTTOOOORRRRIIIITTTTOOOO BBBBOOOOOOOOTTTT IIIINNNNFFFFOOOO TTTTAAAABBBBLLLLEEEE section for a description
  361.           of this table.
  362.  
  363.      ----CCCC _l_a_s_t__s_e_s_s__s_t_a_r_t,_n_e_x_t__s_e_s_s__s_t_a_r_t
  364.           This option is needed when mmmmkkkkiiiissssooooffffssss is  used  to  create
  365.           the image of a second session or a higher level session
  366.           for a multi session disk.  The option ----CCCC takes  a  pair
  367.           of  two  numbers separated by a comma. The first number
  368.           is the sector number of the first sector  in  the  last
  369.           session  of  the  disk that should be appended to.  The
  370.           second number is the starting sector number of the  new
  371.           session.  The expected pair of numbers may be retrieved
  372.           by calling ccccddddrrrreeeeccccoooorrrrdddd ----mmmmssssiiiinnnnffffoooo ............ the ----CCCC option may  only
  373.           be uses in conjunction with the ----MMMM option.
  374.  
  375.      ----cccc _b_o_o_t__c_a_t_a_l_o_g
  376.           Specifies the path and filename of the boot catalog  to
  377.           be  used  when  making  an "El Torito" bootable CD. The
  378.           pathname must be relative to the source path  specified
  379.           to  mmmmkkkkiiiissssooooffffssss.... This option is required to make a bootable
  380.           CD.  This file will be inserted into  the  output  tree
  381.           and  not  created  in the source filesystem, so be sure
  382.           the specified filename does not conflict with an exist-
  383.           ing  file,  as it will be excluded. Usually a name like
  384.           "boot.catalog" is chosen.
  385.  
  386.      ----cccchhhheeeecccckkkk----oooollllddddnnnnaaaammmmeeeessss
  387.           Check all filenames imported from old session for  com-
  388.           pliance  with actual mmmmkkkkiiiissssooooffffssss iso9660 file naming rules.
  389.           It his option is not present, only names with a  length
  390.  
  391.  
  392.  
  393. Version 1.13a01      Last change: 1 May 2000                    6
  394.  
  395.  
  396.  
  397.  
  398.  
  399.  
  400. MKISOFS(8)           Maintenance Procedures            MKISOFS(8)
  401.  
  402.  
  403.  
  404.           > 31 are checked as these files are a hard violation of
  405.           the iso9660 standard.
  406.  
  407.      ----ccccooooppppyyyyrrrriiiigggghhhhtttt _F_I_L_E
  408.           Specifies the Copyright file name.  This parameter  can
  409.           also  be set in the file ....mmmmkkkkiiiissssooooffffssssrrrrcccc with COPY=filename.
  410.           If specified in both places, the command  line  version
  411.           is used.
  412.  
  413.      ----dddd    Omit trailing period from files that  do  not  have  a
  414.           period.
  415.           This violates the ISO9660 standard, but it  happens  to
  416.           work on many systems.  Use with caution.
  417.  
  418.      ----DDDD    Do not use deep directory relocation, and instead just
  419.           pack them in the way we see them.
  420.           This violates the ISO9660 standard, but it  happens  to
  421.           work on many systems.  Use with caution.
  422.  
  423.      ----ffff    Follow symbolic links when generating the  filesystem.
  424.           When  this option is not in use, symbolic links will be
  425.           entered using Rock Ridge if enabled, otherwise the file
  426.           will be ignored.
  427.  
  428.      ----gggguuuuiiii  Switch the behaviour for a GUI. This  currently  makes
  429.           the  output  more verbose but may have other effects in
  430.           future.
  431.  
  432.      ----hhhhiiiiddddeeee _g_l_o_b
  433.           Hide _g_l_o_b from being seen on the ISO9660 or Rock  Ridge
  434.           directory.   _g_l_o_b  is  a  shell wild-card-style pattern
  435.           that must match any part of the filename or path.  Mul-
  436.           tiple  globs  may  be hidden.  If _g_l_o_b matches a direc-
  437.           tory, then the contents of that directory will be  hid-
  438.           den.  All the hidden files will still be written to the
  439.           output CD image file.  Should be used with the  ---- hhhhiiiiddddeeee----
  440.           jjjjoooolllliiiieeeetttt option.
  441.  
  442.      ----hhhhiiiiddddeeee----lllliiiisssstttt _f_i_l_e
  443.           A file containing a list  of  _g_l_o_b_s  to  be  hidden  as
  444.           above.
  445.  
  446.      ----hhhhiiiiddddddddeeeennnn _g_l_o_b
  447.           Add the hidden (existence) ISO9660 directory  attribute
  448.           for  _g_l_o_b.  This attribute will prevent _g_l_o_b from being
  449.           listed on DOS based systems if the /A flag is not  used
  450.           for  the listing.  _g_l_o_b is a shell wild-card-style pat-
  451.           tern that must match any part of the filename or  path.
  452.           Multiple globs may be hidden.
  453.  
  454.      ----hhhhiiiiddddddddeeeennnn----lllliiiisssstttt _f_i_l_e
  455.           A file containing a list of _g_l_o_b_s  to  get  the  hidden
  456.  
  457.  
  458.  
  459. Version 1.13a01      Last change: 1 May 2000                    7
  460.  
  461.  
  462.  
  463.  
  464.  
  465.  
  466. MKISOFS(8)           Maintenance Procedures            MKISOFS(8)
  467.  
  468.  
  469.  
  470.           attribute as above.
  471.  
  472.      ----hhhhiiiiddddeeee----jjjjoooolllliiiieeeetttt _g_l_o_b
  473.           Hide _g_l_o_b from being  seen  on  the  Joliet  directory.
  474.           _g_l_o_b is a shell wild-card-style pattern that must match
  475.           any part of the filename or path.  Multiple  globs  may
  476.           be  hidden.  If _g_l_o_b matches a directory, then the con-
  477.           tents of that directory will be hidden.  All the hidden
  478.           files  will  still  be  written  to the output CD image
  479.           file.  Should be used with the ----hhhhiiiiddddeeee option.
  480.  
  481.      ----hhhhiiiiddddeeee----jjjjoooolllliiiieeeetttt----lllliiiisssstttt _f_i_l_e
  482.           A file containing a list  of  _g_l_o_b_s  to  be  hidden  as
  483.           above.
  484.  
  485.      ----hhhhiiiiddddeeee----jjjjoooolllliiiieeeetttt----ttttrrrraaaannnnssss----ttttbbbbllll
  486.           Hide the TTTTRRRRAAAANNNNSSSS....TTTTBBBBLLLL files from the Joliet  tree.   These
  487.           files  usually  don't make sense in the Joliet World as
  488.           they list the real name and the ISO9660 name which  may
  489.           both be different from the Joliet name.
  490.  
  491.      ----hhhhiiiiddddeeee----rrrrrrrr----mmmmoooovvvveeeedddd
  492.           Rename the directory RRRRRRRR____MMMMOOOOVVVVEEEEDDDD to ....rrrrrrrr____mmmmoooovvvveeeedddd in the  Rock
  493.           Ridge  tree.   It  seems to be impossible to completely
  494.           hide the RRRRRRRR____MMMMOOOOVVVVEEEEDDDD directory from the Rock  Ridge  tree.
  495.           This  option  only  makes  the  visible  tree better to
  496.           understand for people who don't know what  this  direc-
  497.           tory is for.  If you need to have no RRRRRRRR____MMMMOOOOVVVVEEEEDDDD directory
  498.           at all, you should use the ----DDDD option. Note that in case
  499.           that  the   ----DDDD option has been specified, the resulting
  500.           filesystem is not ISO9660 level-1  compliant  and  will
  501.           not be readable on MS-DOS.
  502.  
  503.      ----llll    Allow  full  31  character  filenames.   Normally  the
  504.           ISO9660 filename will be in an 8.3 format which is com-
  505.           patible with MS-DOS, even though the  ISO9660  standard
  506.           allows  filenames  of  up to 31 characters.  If you use
  507.           this option, the disc may be difficult to use on a  MS-
  508.           DOS  system, but this comes in handy on some other sys-
  509.           tems (such as the Amiga).  Use with caution.
  510.  
  511.      ----iiiissssoooo----lllleeeevvvveeeellll _l_e_v_e_l
  512.           Set the iso9660 conformance level.  Valid  numbers  are
  513.           1..3.
  514.  
  515.           With level 1, files may only consist of one section and
  516.           filenames are restricted to 8.3 characters.
  517.  
  518.           With level 2, files may only consist of one section.
  519.  
  520.           With level 3, no restrictions apply.
  521.  
  522.  
  523.  
  524.  
  525. Version 1.13a01      Last change: 1 May 2000                    8
  526.  
  527.  
  528.  
  529.  
  530.  
  531.  
  532. MKISOFS(8)           Maintenance Procedures            MKISOFS(8)
  533.  
  534.  
  535.  
  536.           With all iso9660 levels all filenames are restricted to
  537.           upper case letters, numbers and the underscore (_). The
  538.           maximum filename length is restricted to 31 characters,
  539.           the  directory nesting level is restricted to 8 and the
  540.           maximum path length is limited to 255 characters.
  541.  
  542.      ----JJJJ    Generate Joliet directory records in addition to regu-
  543.           lar  iso9660 file names.  This is primarily useful when
  544.           the discs are to be used on  Windows-NT  or  Windows-95
  545.           machines.    The  Joliet  filenames  are  specified  in
  546.           Unicode and each path component can be up to 64 Unicode
  547.           characters long.
  548.  
  549.      ----jjjjcccchhhhaaaarrrrsssseeeetttt _c_h_a_r_s_e_t
  550.           Local charset that should be used for translating local
  551.           file  names  into Joliet Unicode directory records.  To
  552.           get a list of valid charset names, call mmmmkkkkiiiissssooooffffssss ----jjjjcccchhhhaaaarrrr----
  553.           sssseeeetttt  hhhheeeellllpppp.... To get a 1:1 mapping, you may use ddddeeeeffffaaaauuuulllltttt as
  554.           charset name. The default initial values are  _c_p_4_3_7  on
  555.           DOS  based  systems and _i_s_o_8_8_5_9-_1 on all other systems.
  556.           If the ----jjjjcccchhhhaaaarrrrsssseeeetttt option is specified, the ----JJJJ option  is
  557.           implied.
  558.  
  559.      ----LLLL    Allow ISO9660 filenames to begin with a period.   Usu-
  560.           ally,  a  leading dot is replaced with an underscore in
  561.           order to maintain MS-DOS compatibility.
  562.           This violates the ISO9660 standard, but it  happens  to
  563.           work on many systems.  Use with caution.
  564.  
  565.      ----lllloooogggg----ffffiiiilllleeee _l_o_g__f_i_l_e
  566.           Redirect all error, warning and informational  messages
  567.           to _l_o_g__f_i_l_e instead of the standard error.
  568.  
  569.      ----mmmm _g_l_o_b
  570.           Exclude _g_l_o_b from being written to CDROM.   _g_l_o_b  is  a
  571.           shell  wild-card-style  pattern that must match part of
  572.           the filename (not the path as with option ----xxxx).  Techni-
  573.           cally _g_l_o_b is matched against the _d->_d__n_a_m_e part of the
  574.           directory  entry.   Multiple  globs  may  be  excluded.
  575.           Example:
  576.  
  577.           mkisofs -o rom -m '*.o' -m core -m foobar
  578.  
  579.           would exclude all files ending in ".o",  called  "core"
  580.           or "foobar" to be copied to CDROM. Note that if you had
  581.           a directory called "foobar" it too (and of  course  all
  582.           its descendants) would be excluded.
  583.  
  584.           NOTE: The -m and -x option description should  both  be
  585.           updated,  they  are wrong.  Both now work identical and
  586.           use filename globbing. A file is excluded if either the
  587.           last component matches or the whole path matches.
  588.  
  589.  
  590.  
  591. Version 1.13a01      Last change: 1 May 2000                    9
  592.  
  593.  
  594.  
  595.  
  596.  
  597.  
  598. MKISOFS(8)           Maintenance Procedures            MKISOFS(8)
  599.  
  600.  
  601.  
  602.      ----eeeexxxxcccclllluuuuddddeeee----lllliiiisssstttt _f_i_l_e
  603.           A file containing a list of  _g_l_o_b_s  to  be  exclude  as
  604.           above.
  605.  
  606.      ----mmmmaaaaxxxx----iiiissssoooo9999666666660000----ffffiiiilllleeeennnnaaaammmmeeeessss
  607.           Allow 37  chars  in  iso9660  filenames.   This  option
  608.           forces  the  ----NNNN option as the extra name space is taken
  609.           from the space reserved for ISO-9660 version numbers.
  610.           This violates the ISO9660 standard, but it  happens  to
  611.           work  on  many systems.  Although a conforming applica-
  612.           tion needs to provide a buffer space  of  at  least  37
  613.           characters,  disks created with this option may cause a
  614.           buffer overflow in the reading  operating  system.  Use
  615.           with extreme care.
  616.  
  617.      ----MMMM _p_a_t_h
  618.           or
  619.  
  620.      ----MMMM _d_e_v_i_c_e
  621.           Specifies path to existing iso9660 image to be  merged.
  622.           The  alternate  form takes a SCSI device specifier that
  623.           uses the same syntax as the ddddeeeevvvv==== parameter of ccccddddrrrreeeeccccoooorrrrdddd....
  624.           The  output  of  mmmmkkkkiiiissssooooffffssss  will  be  a new session which
  625.           should get written to the end of the image specified in
  626.           - M.   Typically this requires multi-session capability
  627.           for the recorder and cdrom drive that you are  attempt-
  628.           ing  to  write  this image to.  This option may only be
  629.           used in conjunction with the ----CCCC option.
  630.  
  631.      ----NNNN    Omit version numbers from ISO9660 file names.
  632.           This violates the ISO9660 standard, but no  one  really
  633.           uses the version numbers anyway.  Use with caution.
  634.  
  635.      ----nnnnoooobbbbaaaakkkk
  636.  
  637.      ----nnnnoooo----bbbbaaaakkkk
  638.           Do not  include  backup  files  files  on  the  iso9660
  639.           filesystem.   If the ----nnnnoooo----bbbbaaaakkkk option is specified, files
  640.           that contain the characters '~' or '#' or end in '.bak'
  641.           will  not be included (these are typically backup files
  642.           for editors under unix).
  643.  
  644.      ----nnnnoooo----rrrrrrrr
  645.           Do not use the Rock Ridge attributes from previous ses-
  646.           sions.   This  may  help  to avoid getting into trouble
  647.           when mmmmkkkkiiiissssooooffffssss finds illegal Rock Ridge signatures on  an
  648.           old session.
  649.  
  650.      ----nnnnoooo----sssspppplllliiiitttt----ssssyyyymmmmlllliiiinnnnkkkk----ccccoooommmmppppoooonnnneeeennnnttttssss
  651.           Don't split the SL components, but  begin  a  new  Con-
  652.           tinuation Area (CE) instead. This may waste some space,
  653.           but the SunOS 4.1.4 cdrom driver has a bug  in  reading
  654.  
  655.  
  656.  
  657. Version 1.13a01      Last change: 1 May 2000                   10
  658.  
  659.  
  660.  
  661.  
  662.  
  663.  
  664. MKISOFS(8)           Maintenance Procedures            MKISOFS(8)
  665.  
  666.  
  667.  
  668.           split SL components (link_size = component_size instead
  669.           of link_size += component_size).
  670.  
  671.      ----nnnnoooo----sssspppplllliiiitttt----ssssyyyymmmmlllliiiinnnnkkkk----ffffiiiieeeellllddddssss
  672.           Don't split the SL fields, but begin a new Continuation
  673.           Area  (CE)  instead. This may waste some space, but the
  674.           SunOS 4.1.4 and Solaris 2.5.1 cdrom driver have  a  bug
  675.           in reading split SL fields (a `/' can be dropped).
  676.  
  677.      ----oooo _f_i_l_e_n_a_m_e
  678.           is the name of the file to which the iso9660 filesystem
  679.           image  should  be  written.  This can be a disk file, a
  680.           tape drive, or it can correspond directly to the device
  681.           name  of  the  optical  disc writer.  If not specified,
  682.           stdout is used.  Note that the output  can  also  be  a
  683.           block special device for a regular disk drive, in which
  684.           case the disk partition can be mounted and examined  to
  685.           ensure that the premastering was done correctly.
  686.  
  687.      ----ppppaaaadddd  Pad the end of the ISO9660 by 16  sectors  (32kB).  If
  688.           the  total  size  then is not a multiple of 16 sectors,
  689.           the needed number of sectors is added.  If the option ----
  690.           BBBB is used, then there is a second padding at the end of
  691.           the boot partitions.
  692.  
  693.           The padding is neded as many  operating  systems  (e.g.
  694.           Linux)  implement  read  ahead bugs in their filesystem
  695.           I/O. These bugs result in read errors on  one  or  more
  696.           files  that are located at the end of a track. They are
  697.           usually present when the CD is written in Track at Once
  698.           mode or when the disk is written as mixed mode CD where
  699.           an audio track follows the data track.
  700.  
  701.      ----ppppaaaatttthhhh----lllliiiisssstttt _f_i_l_e
  702.           A file containing a list of  _p_a_t_h_s_p_e_c  directories  and
  703.           filenames  to  be added to the ISO9660 filesystem. This
  704.           list of pathspecs are processed after any  that  appear
  705.           on  the  command  line.  If the argument is -, then the
  706.           list is read from the standard input. There must be  at
  707.           least one _p_a_t_h_s_p_e_c given on the command line as well.
  708.  
  709.      ----PPPP _p_u_b_l_i_s_h_e_r__i_d
  710.           Specifies a text string that will be written  into  the
  711.           volume  header.   This should describe the publisher of
  712.           the CDROM, usually with a  mailing  address  and  phone
  713.           number.   There is space on the disc for 128 characters
  714.           of information.  This parameter can also be set in  the
  715.           file  ....mmmmkkkkiiiissssooooffffssssrrrrcccc  with  PUBL=.   If  specified  in both
  716.           places, the command line version is used.
  717.  
  718.      ----pppp _p_r_e_p_a_r_e_r__i_d
  719.           Specifies a text string that will be written  into  the
  720.  
  721.  
  722.  
  723. Version 1.13a01      Last change: 1 May 2000                   11
  724.  
  725.  
  726.  
  727.  
  728.  
  729.  
  730. MKISOFS(8)           Maintenance Procedures            MKISOFS(8)
  731.  
  732.  
  733.  
  734.           volume  header.   This  should describe the preparer of
  735.           the CDROM, usually with a  mailing  address  and  phone
  736.           number.   There is space on the disc for 128 characters
  737.           of information.  This parameter can also be set in  the
  738.           file  ....mmmmkkkkiiiissssooooffffssssrrrrcccc  with  PREP=.   If  specified  in both
  739.           places, the command line version is used.
  740.  
  741.      ----pppprrrriiiinnnntttt----ssssiiiizzzzeeee
  742.           Print estimated filesystem size and exit.  This  option
  743.           is  needed  for  Disk  At  Once mode and with some CD-R
  744.           drives when piping directly into ccccddddrrrreeeeccccoooorrrrdddd.... In this case
  745.           it  is needed to know the size of the filesystem before
  746.           the actual CD-creation is done.  The option -print-size
  747.           allows  to get this size from a "dry-run" before the CD
  748.           is actually written.
  749.  
  750.      ----qqqquuuuiiiieeeetttt
  751.           This makes mmmmkkkkiiiissssooooffffssss even less verbose.  No progress out-
  752.           put will be provided.
  753.  
  754.      ----RRRR    Generate SUSP and RR records using the Rock Ridge pro-
  755.           tocol  to  further  describe  the  files on the iso9660
  756.           filesystem.
  757.  
  758.      ----rrrr    This is like the -R option,  but  file  ownership  and
  759.           modes  are  set to more useful values.  The uid and gid
  760.           are set to zero, because they are usually  only  useful
  761.           on  the  author's system, and not useful to the client.
  762.           All the file read bits are set true, so that files  and
  763.           directories  are  globally  readable on the client.  If
  764.           any execute bit is set for a file, set all of the  exe-
  765.           cute  bits, so that executables are globally executable
  766.           on the client.  If any search bit is set for  a  direc-
  767.           tory,  set  all of the search bits, so that directories
  768.           are globally searchable on the client.  All write  bits
  769.           are  cleared,  because the CD-Rom will be mounted read-
  770.           only in any case.  If any of the special mode bits  are
  771.           set, clear them, because file locks are not useful on a
  772.           read-only file system, and set-id bits are  not  desir-
  773.           able  for uid 0 or gid 0.  When used on Win32, the exe-
  774.           cute bit is set on _a_l_l files. This is a result  of  the
  775.           lack  of file permissions on Win32 and the Cygwin POSIX
  776.           emulation layer.
  777.  
  778.      ----rrrreeeellllaaaaxxxxeeeedddd----ffffiiiilllleeeennnnaaaammmmeeeessss
  779.           The option ----rrrreeeellllaaaaxxxxeeeedddd----ffffiiiilllleeeennnnaaaammmmeeeessss allows ISO9660  filenames
  780.           to include digits, uppercase characters and all other 7
  781.           bit ASCII characters (resp. anything  except  lowercase
  782.           characters).
  783.           This violates the ISO9660 standard, but it  happens  to
  784.           work on many systems.  Use with caution.
  785.  
  786.  
  787.  
  788.  
  789. Version 1.13a01      Last change: 1 May 2000                   12
  790.  
  791.  
  792.  
  793.  
  794.  
  795.  
  796. MKISOFS(8)           Maintenance Procedures            MKISOFS(8)
  797.  
  798.  
  799.  
  800.      ----ssssoooorrrrtttt _s_o_r_t _f_i_l_e
  801.           Sort file locations on the media. Sorting is controlled
  802.           by  a file that contains pairs of filenames and sorting
  803.           offset weighting.  If the weighting is higher, the file
  804.           will  be  located closer to the beginning of the media,
  805.           if the weighting is lower, the  file  will  be  located
  806.           closer to the end of the media.
  807.  
  808.      ----ssssyyyyssssiiiidddd _I_D
  809.           Specifies the system ID.  This parameter  can  also  be
  810.           set  in  the  file  ....mmmmkkkkiiiissssooooffffssssrrrrcccc with SYSI=system_id.  If
  811.           specified in both places, the command line  version  is
  812.           used.
  813.  
  814.      ----TTTT    Generate a file TRANS.TBL in  each  directory  on  the
  815.           CDROM, which can be used on non-Rock Ridge capable sys-
  816.           tems to help establish the correct file  names.   There
  817.           is  also information present in the file that indicates
  818.           the major and minor numbers  for  block  and  character
  819.           devices, and each symlink has the name of the link file
  820.           given.
  821.  
  822.      ----ttttaaaabbbblllleeee----nnnnaaaammmmeeee _T_A_B_L_E__N_A_M_E
  823.           Alternative translation table file  name  (see  above).
  824.           Implies  the   ----TTTT option.  If you are creating a multi-
  825.           session image you must use the same name as in the pre-
  826.           vious session.
  827.  
  828.      ----uuuuccccssss----lllleeeevvvveeeellll _l_e_v_e_l
  829.           Set Unicode conformance level in the  Joliet  SVD.  The
  830.           default  level  is 3.  It may be set to 1..3 using this
  831.           option.
  832.  
  833.      ----uuuusssseeee----ffffiiiilllleeeevvvveeeerrrrssssiiiioooonnnn
  834.           The option ----uuuusssseeee----ffffiiiilllleeeevvvveeeerrrrssssiiiioooonnnn allows mkisofs to use  file
  835.           version  numbers from the filesystem.  If the option is
  836.           not specified, mmmmkkkkiiiissssooooffffssss creates a version if 1  for  all
  837.           files.   File  versions  are strings in the range ;_1 to
  838.           ;_3_2_7_6_7 This option is the default on VMS.
  839.  
  840.      ----UUUU    Allows "Untranslated" filenames, completely  violating
  841.           the  iso9660 standards described above. Forces on the -
  842.           d, -l, -L, -N, -relaxed-filenames, -allow-lowercase,  -
  843.           allow-multidot  and  -no-iso-translate flags. It allows
  844.           more than one '.' character in the filename, as well as
  845.           mixed  case filenames.  This is useful on HP-UX system,
  846.           where the built-in CDFS filesystem does  not  recognize
  847.           ANY extensions. Use with extreme caution.
  848.  
  849.      ----nnnnoooo----iiiissssoooo----ttttrrrraaaannnnssssllllaaaatttteeee
  850.           Do not translate the characters '#' and '~'  which  are
  851.           invalid  for  iso9660  filenames.  These characters are
  852.  
  853.  
  854.  
  855. Version 1.13a01      Last change: 1 May 2000                   13
  856.  
  857.  
  858.  
  859.  
  860.  
  861.  
  862. MKISOFS(8)           Maintenance Procedures            MKISOFS(8)
  863.  
  864.  
  865.  
  866.           though invalid often used by Microsoft systems.
  867.           This violates the ISO9660 standard, but it  happens  to
  868.           work on many systems.  Use with caution.
  869.  
  870.      ----VVVV _v_o_l_i_d
  871.           Specifies the volume ID (volume name or  label)  to  be
  872.           written into the master block.  This parameter can also
  873.           be set in the file ....mmmmkkkkiiiissssooooffffssssrrrrcccc with VOLI=id.  If  speci-
  874.           fied  in both places, the command line version is used.
  875.           Note that if you assign a volume ID, this is  the  name
  876.           that  will  be  used  as  the  mount  point used by the
  877.           Solaris volume management system and the name  that  is
  878.           assigned to the disc on a Windows or Mac platform.
  879.  
  880.      ----vvvvoooollllsssseeeetttt _I_D
  881.           Specifies the volset ID.  This parameter  can  also  be
  882.           set  in  the  file  ....mmmmkkkkiiiissssooooffffssssrrrrcccc with VOLS=volset_id.  If
  883.           specified in both places, the command line  version  is
  884.           used.
  885.  
  886.      ----vvvvoooollllsssseeeetttt----ssssiiiizzzzeeee #
  887.           Sets the volume set size to #.  The volume set size  is
  888.           the  number of CD's that are in a CD set.  The ----vvvvoooollllsssseeeetttt----
  889.           ssssiiiizzzzeeee option may be used to create CD's that are part of
  890.           e.g.  a Operation System installation set of CD's.  The
  891.           option ----vvvvoooollllsssseeeetttt----ssssiiiizzzzeeee must be specified before  ---- vvvvoooollllsssseeeetttt----
  892.           sssseeeeqqqqnnnnoooo on each command line.
  893.  
  894.      ----vvvvoooollllsssseeeetttt----sssseeeeqqqqnnnnoooo #
  895.           Sets the volume set sequence number to #.   The  volume
  896.           set  sequence number is the index number of the current
  897.           CD in a CD set.  The option ----vvvvoooollllsssseeeetttt----ssssiiiizzzzeeee must be speci-
  898.           fied before ----vvvvoooollllsssseeeetttt----sssseeeeqqqqnnnnoooo on each command line.
  899.  
  900.      ----vvvv    Verbose execution. If given twice on the command line,
  901.           extra debug information will be printed.
  902.  
  903.      ----xxxx _p_a_t_h
  904.           Exclude _p_a_t_h from being written to CDROM.  _p_a_t_h must be
  905.           the  complete  pathname that results from concatenating
  906.           the pathname given as command  line  argument  and  the
  907.           path relative to this directory.  Multiple paths may be
  908.           excluded.  Example:
  909.  
  910.           mkisofs -o cd -x /local/dir1 -x /local/dir2 /local
  911.  
  912.           NOTE: The -m and -x option description should  both  be
  913.           updated,  they  are wrong.  Both now work identical and
  914.           use filename globbing. A file is excluded if either the
  915.           last component matches or the whole path matches.
  916.  
  917.       ---- zzzz    Generate  special  SUSP  records  for  transparently
  918.  
  919.  
  920.  
  921. Version 1.13a01      Last change: 1 May 2000                   14
  922.  
  923.  
  924.  
  925.  
  926.  
  927.  
  928. MKISOFS(8)           Maintenance Procedures            MKISOFS(8)
  929.  
  930.  
  931.  
  932.           compressed files.  This is only of use and interest for
  933.           hosts that support transparent decompression.  This  is
  934.           an experimental feature, and no hosts yet support this,
  935.           but there are ALPHA patches for Linux that can make use
  936.           of this feature.
  937.  
  938.  
  939. HHHHFFFFSSSS OOOOPPPPTTTTIIIIOOOONNNNSSSS
  940.      ----hhhhffffssss  Create an ISO9660/HFS hybrid CD. This option should be
  941.           used  in  conjunction  with  the ----mmmmaaaapppp, (Reg.)and/or the
  942.           various _d_o_u_b_l_e _d_a_s_h options given below.
  943.  
  944.      ----aaaapppppppplllleeee
  945.           Create an ISO9660 CD with Apple's  extensions.  Similar
  946.           to the ----hhhhffffssss option, except that the Apple Extensions to
  947.           ISO9660 are added instead of  creating  an  HFS  hybrid
  948.           volume.
  949.  
  950.      ----mmmmaaaapppp _m_a_p_p_i_n_g__f_i_l_e
  951.           Use the _m_a_p_p_i_n_g__f_i_l_e to set the CREATOR and TYPE infor-
  952.           mation  for a file based on the filename's extension. A
  953.           filename is mapped only if it is not one  of  the  know
  954.           Apple/Unix  file formats. See the HHHHFFFFSSSS CCCCRRRREEEEAAAATTTTOOOORRRR////TTTTYYYYPPPPEEEE sec-
  955.           tion below.
  956.  
  957.      ----mmmmaaaaggggiiiicccc _m_a_g_i_c__f_i_l_e
  958.           The CREATOR and TYPE information  is  set  by  using  a
  959.           file's  _m_a_g_i_c  _n_u_m_b_e_r (usually the first few bytes of a
  960.           file). The _m_a_g_i_c__f_i_l_e is only used if a file is not one
  961.           of  the  known Apple/Unix file formats, or the filename
  962.           extension has not been mapped using the  ---- mmmmaaaapppp  option.
  963.           See   the  HHHHFFFFSSSS  CCCCRRRREEEEAAAATTTTOOOORRRR////TTTTYYYYPPPPEEEE  section  below  for  more
  964.           details.
  965.  
  966.      ----hhhhffffssss----ccccrrrreeeeaaaattttoooorrrr _C_R_E_A_T_O_R
  967.           Set the default CREATOR for all files. Must be  exactly
  968.           4  characters.  See  the HHHHFFFFSSSS CCCCRRRREEEEAAAATTTTOOOORRRR////TTTTYYYYPPPPEEEE section below
  969.           for more details.
  970.  
  971.      ----hhhhffffssss----ttttyyyyppppeeee _T_Y_P_E
  972.           Set the default TYPE for all files. Must be  exactly  4
  973.           characters.  See the HHHHFFFFSSSS CCCCRRRREEEEAAAATTTTOOOORRRR////TTTTYYYYPPPPEEEE section below for
  974.           more details.
  975.  
  976.      ----pppprrrroooobbbbeeee
  977.           Search  the  contents  of  files  for  all  the   known
  978.           Apple/Unix  file  formats.   See the HHHHFFFFSSSS MMMMAAAACCCCIIIINNNNTTTTOOOOSSSSHHHH FFFFIIIILLLLEEEE
  979.           FFFFOOOORRRRMMMMAAAATTTTSSSS section below for  more  about  these  formats.
  980.           However,  the  only  way  to  check  for  _M_a_c_B_i_n_a_r_y and
  981.           _A_p_p_l_e_S_i_n_g_l_e files is to open and read  them.  Therefore
  982.           this  option _m_a_y increase processing time. It is better
  983.           to use one or more _d_o_u_b_l_e _d_a_s_h options given  below  if
  984.  
  985.  
  986.  
  987. Version 1.13a01      Last change: 1 May 2000                   15
  988.  
  989.  
  990.  
  991.  
  992.  
  993.  
  994. MKISOFS(8)           Maintenance Procedures            MKISOFS(8)
  995.  
  996.  
  997.  
  998.           the Apple/Unix formats in use are known.
  999.  
  1000.      ----nnnnoooo----ddddeeeesssskkkkttttoooopppp
  1001.           Do not create (empty) Desktop files.  New  HFS  Desktop
  1002.           files  will  be created when the CD is used on a Macin-
  1003.           tosh (and stored in the System  Folder).   By  default,
  1004.           empty Desktop files are added to the HFS volume.
  1005.  
  1006.      ----mmmmaaaacccc----nnnnaaaammmmeeee
  1007.           Use the HFS filename as  the  starting  point  for  the
  1008.           ISO9660,  Joliet and Rock Ridge file names. See the HHHHFFFFSSSS
  1009.           MMMMAAAACCCCIIIINNNNTTTTOOOOSSSSHHHH FFFFIIIILLLLEEEE NNNNAAAAMMMMEEEESSSS section below  for  more  informa-
  1010.           tion.
  1011.  
  1012.      ----bbbbooooooootttt----hhhhffffssss----ffffiiiilllleeee _d_r_i_v_e_r__f_i_l_e
  1013.           Installs the _d_r_i_v_e_r__f_i_l_e that _m_a_y make the CD  bootable
  1014.           on  a Macintosh. See the HHHHFFFFSSSS BBBBOOOOOOOOTTTT DDDDRRRRIIIIVVVVEEEERRRR section below.
  1015.           (Alpha).
  1016.  
  1017.      ----ppppaaaarrrrtttt
  1018.           Generate an HFS partition table. By default, no  parti-
  1019.           tion table is generated, but some older Macintosh CDROM
  1020.           drivers need an HFS partition table on the CDROM to  be
  1021.           able to recognize a hybrid CDROM.
  1022.  
  1023.      ----aaaauuuuttttoooo _A_u_t_o_S_t_a_r_t__f_i_l_e
  1024.           Make the HFS CD use the QuickTime 2.0 Autostart feature
  1025.           to   launch  an  application  or  document.  The  given
  1026.           filename must be the name of a document or  application
  1027.           located  at  the top level of the CD. The filename must
  1028.           be less than 12 characters. (Alpha).
  1029.  
  1030.      ----cccclllluuuusssstttteeeerrrr----ssssiiiizzzzeeee _s_i_z_e
  1031.           Set the size in bytes  of  the  cluster  or  allocation
  1032.           units  of  PC  Exchange  files.  Implies the --------eeeexxxxcccchhhhaaaannnnggggeeee
  1033.           option. See the  HHHHFFFFSSSS  MMMMAAAACCCCIIIINNNNTTTTOOOOSSSSHHHH  FFFFIIIILLLLEEEE  FFFFOOOORRRRMMMMAAAATTTTSSSS  section
  1034.           below.
  1035.  
  1036.      ----hhhhiiiiddddeeee----hhhhffffssss _g_l_o_b
  1037.           Hide _g_l_o_b from the HFS volume. The  file  or  directory
  1038.           will  still  exist  in the ISO9660 and/or Joliet direc-
  1039.           tory.  _g_l_o_b is a  shell  wild-card-style  pattern  that
  1040.           must  match any part of the filename Multiple globs may
  1041.           be excluded.  Example:
  1042.  
  1043.           mkisofs -o rom -hfs -hide-hfs '*.o' -hide-hfs foobar
  1044.  
  1045.           would exclude  all  files  ending  in  ".o"  or  called
  1046.           "foobar"  from  the  HFS volume. Note that if you had a
  1047.           directory called "foobar" it too (and of course all its
  1048.           descendants) would be excluded.  The _g_l_o_b can also be a
  1049.           path name relative to the source directories  given  on
  1050.  
  1051.  
  1052.  
  1053. Version 1.13a01      Last change: 1 May 2000                   16
  1054.  
  1055.  
  1056.  
  1057.  
  1058.  
  1059.  
  1060. MKISOFS(8)           Maintenance Procedures            MKISOFS(8)
  1061.  
  1062.  
  1063.  
  1064.           the command line. Example:
  1065.  
  1066.           mkisofs -o rom -hfs -hide-hfs src/html src
  1067.  
  1068.           would exclude just the file or directory called  "html"
  1069.           from  the  "src" directory. Any other file or directory
  1070.           called "html" in the tree will not be excluded.  Should
  1071.           be used with the ----hhhhiiiiddddeeee and/or ----hhhhiiiiddddeeee----jjjjoooolllliiiieeeetttt options.
  1072.  
  1073.      ----hhhhiiiiddddeeee----hhhhffffssss----lllliiiisssstttt _f_i_l_e
  1074.           A file containing a list  of  _g_l_o_b_s  to  be  hidden  as
  1075.           above.
  1076.  
  1077.      ----hhhhffffssss----vvvvoooolllliiiidddd _h_f_s__v_o_l_i_d
  1078.           Volume name for the HFS partition.  This  is  the  name
  1079.           that  is  assigned  to  the  disc  on  a  Macintosh and
  1080.           replaces the _v_o_l_i_d used with the ----VVVV option
  1081.  
  1082.      ----iiiiccccoooonnnn----ppppoooossssiiiittttiiiioooonnnn
  1083.           Use the icon position information, if it  exists,  from
  1084.           the Apple/Unix file.  The icons will appear in the same
  1085.           position as they would on a Macintosh  desktop.  Folder
  1086.           location  and  size  on  screen,  its scroll positions,
  1087.           folder View (view as Icons, Small Icons, etc.) are also
  1088.           preserved.   This  option  may become set by default in
  1089.           the future.  (Alpha).
  1090.  
  1091.      ----rrrrooooooootttt----iiiinnnnffffoooo _f_i_l_e
  1092.           Set the location, size  on  screen,  scroll  positions,
  1093.           folder  View etc. for the root folder of an HFS volume.
  1094.           See README.rootinfo for more information.  (Alpha)
  1095.  
  1096.      ----pppprrrreeeepppp----bbbbooooooootttt _F_I_L_E
  1097.           PReP  boot  image  file.  Up  to  4  are  allowed.  See
  1098.           README.prep_boot (Alpha)
  1099.  
  1100.      --------ccccaaaapppp
  1101.           Look for AUFS  CAP  Macintosh  files.  Search  for  CAP
  1102.           Apple/Unix  file  formats only. Searching for the other
  1103.           possible Apple/Unix file formats  is  disabled,  unless
  1104.           other _d_o_u_b_l_e _d_a_s_h options are given.
  1105.  
  1106.      --------nnnneeeettttaaaattttaaaallllkkkk
  1107.           Look for NETATALK Macintosh files
  1108.  
  1109.      --------ddddoooouuuubbbblllleeee
  1110.           Look for AppleDouble Macintosh files
  1111.  
  1112.      --------eeeetttthhhheeeerrrrsssshhhhaaaarrrreeee
  1113.           Look for Helios EtherShare Macintosh files
  1114.  
  1115.      --------uuuusssshhhhaaaarrrreeee
  1116.  
  1117.  
  1118.  
  1119. Version 1.13a01      Last change: 1 May 2000                   17
  1120.  
  1121.  
  1122.  
  1123.  
  1124.  
  1125.  
  1126. MKISOFS(8)           Maintenance Procedures            MKISOFS(8)
  1127.  
  1128.  
  1129.  
  1130.           Look for IPT UShare Macintosh files
  1131.  
  1132.      --------eeeexxxxcccchhhhaaaannnnggggeeee
  1133.           Look for PC Exchange Macintosh files
  1134.  
  1135.      --------ssssggggiiii
  1136.           Look for SGI Macintosh files
  1137.  
  1138.      --------xxxxiiiinnnneeeetttt
  1139.           Look for XINET Macintosh files
  1140.  
  1141.      --------mmmmaaaaccccbbbbiiiinnnn
  1142.           Look for MacBinary Macintosh files
  1143.  
  1144.      --------ssssiiiinnnngggglllleeee
  1145.           Look for AppleSingle Macintosh files
  1146.  
  1147.      --------ddddaaaavvvveeee
  1148.           Look for Thursby Software Systems DAVE Macintosh files
  1149.  
  1150.      --------ssssffffmmmm
  1151.           Look for Microsoft's Services for Macintosh  files  (NT
  1152.           only) (Alpha)
  1153.  
  1154.  
  1155. HHHHFFFFSSSS CCCCRRRREEEEAAAATTTTOOOORRRR////TTTTYYYYPPPPEEEE
  1156.      A Macintosh file has two properties associated with it which
  1157.      define  which  application created the file, the _C_R_E_A_T_O_R and
  1158.      what data the file contains, the _T_Y_P_E.  Both are (exactly) 4
  1159.      letter  strings.  Usually  this  allows  a Macintosh user to
  1160.      double-click on a file and launch  the  correct  application
  1161.      etc.  The CREATOR and TYPE of a particular file can be found
  1162.      by using something like ResEdit (or similar) on a Macintosh.
  1163.  
  1164.      The CREATOR and TYPE information is stored in all the  vari-
  1165.      ous  Apple/Unix encoded files.  For other files it is possi-
  1166.      ble to base the CREATOR and TYPE on the filename's extension
  1167.      using  a  _m_a_p_p_i_n_g  file  (the  ----mmmmaaaapppp option) and/or using the
  1168.      _m_a_g_i_c _n_u_m_b_e_r (usually a _s_i_g_n_a_t_u_r_e in the first few bytes) of
  1169.      a file (the ----mmmmaaaaggggiiiicccc option). If both these options are given,
  1170.      then their order on the command line is important. If the  ----
  1171.      mmmmaaaapppp  option  is given first, then a filename extension match
  1172.      is attempted before a magic number match. However, if the  ----
  1173.      mmmmaaaaggggiiiicccc  option  is  given first, then a magic number match is
  1174.      attempted before a filename extension match.
  1175.  
  1176.      If a mapping or magic file is not used, or no match is found
  1177.      then  the default CREATOR and TYPE for all regular files can
  1178.      be set by using entries in the ....mmmmkkkkiiiissssooooffffssssrrrrcccc file or using the
  1179.      ----hhhhffffssss----ccccrrrreeeeaaaattttoooorrrr and/or ----hhhhffffssss----ttttyyyyppppeeee options, otherwise the default
  1180.      CREATOR and TYPE are 'unix' and 'TEXT'.
  1181.  
  1182.  
  1183.  
  1184.  
  1185. Version 1.13a01      Last change: 1 May 2000                   18
  1186.  
  1187.  
  1188.  
  1189.  
  1190.  
  1191.  
  1192. MKISOFS(8)           Maintenance Procedures            MKISOFS(8)
  1193.  
  1194.  
  1195.  
  1196.      The format of the _m_a_p_p_i_n_g file is the same _a_f_p_f_i_l_e format as
  1197.      used by _a_u_f_s.  This file has five columns for the _e_x_t_e_n_s_i_o_n,
  1198.      _f_i_l_e _t_r_a_n_s_l_a_t_i_o_n, _C_R_E_A_T_O_R, _T_Y_P_E and _C_o_m_m_e_n_t.  Lines starting
  1199.      with the '#' character are comment lines and are ignored. An
  1200.      example file would be like:
  1201.  
  1202.      # Example filename mapping file
  1203.      #
  1204.      # EXTN   XLate   CREATOR   TYPE     Comment
  1205.      .tif     Raw     '8BIM'    'TIFF'   "Photoshop TIFF image"
  1206.      .hqx     Ascii   'BnHq'    'TEXT'   "BinHex file"
  1207.      .doc     Raw     'MSWD'    'WDBN'   "Word file"
  1208.      .mov     Raw     'TVOD'    'MooV'   "QuickTime Movie"
  1209.      *        Ascii   'ttxt'    'TEXT'   "Text file"
  1210.  
  1211.      Where:
  1212.  
  1213.           The first column _E_X_T_N defines the Unix filename  exten-
  1214.           sion to be mapped. The default mapping for any filename
  1215.           extension that doesn't match is defined  with  the  "*"
  1216.           character.
  1217.  
  1218.           The _X_l_a_t_e column defines the type of  text  translation
  1219.           between  the  Unix  and Macintosh file it is ignored by
  1220.           mmmmkkkkiiiissssooooffffssss, but is kept to  be  compatible  with  aaaauuuuffffssss(1).
  1221.           Although mmmmkkkkiiiissssooooffffssss does not alter the contents of a file,
  1222.           if a binary file has it's TYPE set as 'TEXT', it _m_a_y be
  1223.           read  incorrectly  on  a  Macintosh. Therefore a better
  1224.           choice for the default TYPE may be '????'
  1225.  
  1226.           The _C_R_E_A_T_O_R and _T_Y_P_E keywords must be 4 characters long
  1227.           and enclosed in single quotes.
  1228.  
  1229.           The comment field is enclosed in double quotes - it  is
  1230.           ignored  by  mmmmkkkkiiiissssooooffffssss, but is kept to be compatible with
  1231.           aaaauuuuffffssss.
  1232.  
  1233.      The format of the _m_a_g_i_c file  is  almost  identical  to  the
  1234.      mmmmaaaaggggiiiicccc(4)  file  used by the Linux ffffiiiilllleeee(1) command - the rou-
  1235.      tines for reading and decoding the _m_a_g_i_c file are  based  on
  1236.      the Linux ffffiiiilllleeee(1) command.
  1237.  
  1238.      This file has  four  tab  separated  columns  for  the  _b_y_t_e
  1239.      _o_f_f_s_e_t, _t_y_p_e, _t_e_s_t and _m_e_s_s_a_g_e.  Lines starting with the '#'
  1240.      character are comment lines and are ignored. An example file
  1241.      would be like:
  1242.  
  1243.      # Example magic file
  1244.      #
  1245.      # off   type      test       message
  1246.      0       string    GIF8       8BIM GIFf  GIF image
  1247.      0       beshort   0xffd8     8BIM JPEG  image data
  1248.  
  1249.  
  1250.  
  1251. Version 1.13a01      Last change: 1 May 2000                   19
  1252.  
  1253.  
  1254.  
  1255.  
  1256.  
  1257.  
  1258. MKISOFS(8)           Maintenance Procedures            MKISOFS(8)
  1259.  
  1260.  
  1261.  
  1262.      0       string    SIT!       SIT! SIT!  StuffIt Archive
  1263.      0       string     37235     LZIV ZIVU  standard unix compress
  1264.      0       string     37213     GNUz ZIVU  gzip compressed data
  1265.      0       string    %!         ASPS TEXT  Postscript
  1266.      0       string     04%!      ASPS TEXT  PC Postscript with a ^D to start
  1267.      4       string    moov       txtt MooV  QuickTime movie file (moov)
  1268.      4       string    mdat       txtt MooV  QuickTime movie file (mdat)
  1269.  
  1270.      The format of the file is  described  in  the  mmmmaaaaggggiiiicccc(4)  man
  1271.      page. The only difference here is that for each entry in the
  1272.      magic file, the _m_e_s_s_a_g_e for the initial  offset  mmmmuuuusssstttt  be  4
  1273.      characters  for the CREATOR followed by 4 characters for the
  1274.      TYPE - white space is optional between them. Any other char-
  1275.      acters on this line are ignored.  Continuation lines (start-
  1276.      ing with a '>') are  also  ignored  i.e.  only  the  initial
  1277.      offset lines are used.
  1278.  
  1279.      Using the ----mmmmaaaaggggiiiicccc option may significantly increase  process-
  1280.      ing  time  as  each file has to opened and read to find it's
  1281.      magic number.
  1282.  
  1283.      In summary, for all files, the default CREATOR is 'unix' and
  1284.      the  default  TYPE is 'TEXT'.  These can be changed by using
  1285.      entries in the ._m_k_i_s_o_f_s_r_c file or by using the ---- hhhhffffssss----ccccrrrreeeeaaaattttoooorrrr
  1286.      and/or ----hhhhffffssss----ttttyyyyppppeeee options.
  1287.  
  1288.      If the a file is in one of the known Apple/Unix formats (and
  1289.      the format has been selected), then the CREATOR and TYPE are
  1290.      taken from the values stored in the Apple/Unix file.
  1291.  
  1292.      Other files can have their CREATOR and TYPE set  from  their
  1293.      file name extension (the ----mmmmaaaapppp option), or their magic number
  1294.      (the ----mmmmaaaaggggiiiicccc option). If the default match  is  used  in  the
  1295.      _m_a_p_p_i_n_g file, then these values override the default CREATOR
  1296.      and TYPE.
  1297.  
  1298.      A   full   CREATOR/TYPE   database   can   be    found    at
  1299.      http://www.angelfire.com/il/szekely/index.html
  1300.  
  1301.  
  1302. HHHHFFFFSSSS MMMMAAAACCCCIIIINNNNTTTTOOOOSSSSHHHH FFFFIIIILLLLEEEE FFFFOOOORRRRMMMMAAAATTTTSSSS
  1303.      Macintosh files have two parts called the _D_a_t_a and  _R_e_s_o_u_r_c_e
  1304.      fork.  Either  may  be  empty. Unix (and many other OSs) can
  1305.      only cope with files having one part (or fork).  To  add  to
  1306.      this, Macintosh files have a number of attributes associated
  1307.      with them - probably the most important  are  the  TYPE  and
  1308.      CREATOR.  Again Unix has no concept of these types of attri-
  1309.      butes.
  1310.  
  1311.      e.g. a Macintosh file may be a JPEG image where the image is
  1312.      stored  in  the  Data fork and a desktop thumbnail stored in
  1313.      the Resource fork. It is usually the information in the data
  1314.  
  1315.  
  1316.  
  1317. Version 1.13a01      Last change: 1 May 2000                   20
  1318.  
  1319.  
  1320.  
  1321.  
  1322.  
  1323.  
  1324. MKISOFS(8)           Maintenance Procedures            MKISOFS(8)
  1325.  
  1326.  
  1327.  
  1328.      fork that is useful across platforms.
  1329.  
  1330.      Therefore to store a Macintosh file on a Unix filesystem,  a
  1331.      way has to be found to cope with the two forks and the extra
  1332.      attributes (which are  referred  to  as  the  _f_i_n_d_e_r  _i_n_f_o).
  1333.      Unfortunately,  it  seems  that  every software package that
  1334.      stores Macintosh files on Unix has chosen a completely  dif-
  1335.      ferent storage method.
  1336.  
  1337.      The Apple/Unix formats  that  _m_k_i_s_o_f_s  (partially)  supports
  1338.      are:
  1339.  
  1340.      CAP AUFS format
  1341.           Data fork stored in a file. Resource fork in  subdirec-
  1342.           tory  .resource with same filename as data fork. Finder
  1343.           info in .finderinfo subdirectory with same filename.
  1344.  
  1345.      AppleDouble/Netatalk
  1346.           Data fork stored in a file. Resource fork stored  in  a
  1347.           file with same name prefixed with "%". Finder info also
  1348.           stored in same "%" file. Netatalk uses the same format,
  1349.           but the resource fork/finderinfo stored in subdirectory
  1350.           .AppleDouble with same name as data fork.
  1351.  
  1352.      AppleSingle
  1353.           Data structures similar to above, except both forks and
  1354.           finder info are stored in one file.
  1355.  
  1356.      Helios EtherShare
  1357.           Data fork stored in a file. Resource  fork  and  finder
  1358.           info  together in subdirectory .rsrc with same filename
  1359.           as data fork.
  1360.  
  1361.      IPT UShare
  1362.           Very similar to the EtherShare format, but  the  finder
  1363.           info is stored slightly differently.
  1364.  
  1365.      MacBinary
  1366.           Both forks and finder info stored in one file.
  1367.  
  1368.      Apple PC Exchange
  1369.           Used by Macintoshes to store Apple files on  DOS  (FAT)
  1370.           disks.   Data  fork  stored in a file. Resource fork in
  1371.           subdirectory  resource.frk  (or  RESOURCE.FRK).  Finder
  1372.           info  as one record in file finder.dat (or FINDER.DAT).
  1373.           Separate finder.dat for each data fork directory.
  1374.  
  1375.           Note: _m_k_i_s_o_f_s needs to know the native FAT cluster size
  1376.           of  the disk that the PC Exchange files are on (or have
  1377.           been copied from). This size is given by the ---- cccclllluuuusssstttteeeerrrr----
  1378.           ssssiiiizzzzeeee  option.   The  cluster  or allocation size can be
  1379.           found by using the DOS utility CCCCHHHHKKKKDDDDSSSSKKKK.
  1380.  
  1381.  
  1382.  
  1383. Version 1.13a01      Last change: 1 May 2000                   21
  1384.  
  1385.  
  1386.  
  1387.  
  1388.  
  1389.  
  1390. MKISOFS(8)           Maintenance Procedures            MKISOFS(8)
  1391.  
  1392.  
  1393.  
  1394.           May not work with PC  Exchange  v2.2  or  higher  files
  1395.           (available  with  MacOS  8.1).  DOS media containing PC
  1396.           Exchange files should be mounted  as  type  mmmmssssddddoooossss  (not
  1397.           vvvvffffaaaatttt) when using Linux.
  1398.  
  1399.      SGI/XINET
  1400.           Used by SGI machines when they mount  HFS  disks.  Data
  1401.           fork  stored  in  a file. Resource fork in subdirectory
  1402.           .HSResource with same name. Finder info as  one  record
  1403.           in  file  .HSancillary.  Separate .HSancillary for each
  1404.           data fork directory.
  1405.  
  1406.      Thursby Software Systems DAVE
  1407.           Allows Macintoshes to store Apple files on SMB servers.
  1408.           Data  fork stored in a file. Resource fork in subdirec-
  1409.           tory resource.frk. Uses the AppleDouble format to store
  1410.           resource fork.
  1411.  
  1412.      Services for Macintosh
  1413.           Format of files stored by NT Servers on  NTFS  filesys-
  1414.           tems.  Data fork is stored as "filename". Resource fork
  1415.           stored as a NTFS _s_t_r_e_a_m called "filename:AFP_Resource".
  1416.           The  finder  info  is  stored  as  a NTFS _s_t_r_e_a_m called
  1417.           "filename:Afp_AfpInfo".  These  streams  are   normally
  1418.           invisible to the user.
  1419.  
  1420.           Warning: mkisofs only partially supports the  SFM  for-
  1421.           mat.  If  an HFS file or folder stored on the NT server
  1422.           contains an _i_l_l_e_g_a_l NT character in its name,  then  NT
  1423.           converts  these characters to _P_r_i_v_a_t_e _U_s_e _U_n_i_c_o_d_e char-
  1424.           acters. The characters are: " * / < > ?  | also a space
  1425.           or period if it is the last character of the file name,
  1426.           character codes 0x01 to 0x1f (control  characters)  and
  1427.           Apple' apple logo.
  1428.  
  1429.           Unfortunately, these private Unicode characters are not
  1430.           readable  by  the  mkisofs NT executable. Therefore any
  1431.           file or directory name containing these characters will
  1432.           be  ignored - including the contents of any such direc-
  1433.           tory.
  1434.  
  1435.      _m_k_i_s_o_f_s will attempt to set the CREATOR, TYPE, date and pos-
  1436.      sibly  other flags from the finder info. Additionally, if it
  1437.      exists, the Macintosh filename is set from the finder  info,
  1438.      otherwise the Macintosh name is based on the Unix filename -
  1439.      see the HHHHFFFFSSSS MMMMAAAACCCCIIIINNNNTTTTOOOOSSSSHHHH FFFFIIIILLLLEEEE NNNNAAAAMMMMEEEESSSS section below.
  1440.  
  1441.      When using the ----aaaapppppppplllleeee  option,  the  TYPE  and  CREATOR  are
  1442.      stored  in  the  optional  System  Use  or SUSP field in the
  1443.      ISO9660 Directory Record - in much the same way as the  Rock
  1444.      Ridge  attributes  are. In fact to make life easy, the Apple
  1445.      extensions are added at the beginning of the  existing  Rock
  1446.  
  1447.  
  1448.  
  1449. Version 1.13a01      Last change: 1 May 2000                   22
  1450.  
  1451.  
  1452.  
  1453.  
  1454.  
  1455.  
  1456. MKISOFS(8)           Maintenance Procedures            MKISOFS(8)
  1457.  
  1458.  
  1459.  
  1460.      Ridge  attributes  (i.e. to get the Apple extensions you get
  1461.      the Rock Ridge extensions as well).
  1462.  
  1463.      The Apple extensions require the resource fork to be  stored
  1464.      as  an ISO9660 _a_s_s_o_c_i_a_t_e_d file. This is just like any normal
  1465.      file stored in the ISO9660 filesystem except that the  asso-
  1466.      ciated  file  flag  is  set in the Directory Record (bit 2).
  1467.      This file has the same name as the data fork (the file  seen
  1468.      by   non-Apple  machines).  Associated  files  are  normally
  1469.      ignored by other OSs
  1470.  
  1471.      When using the ----hhhhffffssss option, the TYPE and CREATOR plus  other
  1472.      finder  info,  are  stored  in a separate HFS directory, not
  1473.      visible on the ISO9660 volume. The HFS directory  references
  1474.      the same data and resource fork files described above.
  1475.  
  1476.      In most cases, it is better to use the ----hhhhffffssss  option  instead
  1477.      of  the   ---- aaaapppppppplllleeee  option, as the latter imposes the limited
  1478.      ISO9660 characters allowed in filenames. However, the  Apple
  1479.      extensions  do  give the advantage that the files are packed
  1480.      on the disk more efficiently and it may be possible  to  fit
  1481.      more  files  on  a CD - important when the total size of the
  1482.      source files is approaching 650MB.
  1483.  
  1484.  
  1485. HHHHFFFFSSSS MMMMAAAACCCCIIIINNNNTTTTOOOOSSSSHHHH FFFFIIIILLLLEEEE NNNNAAAAMMMMEEEESSSS
  1486.      Where possible, the HFS filename  that  is  stored  with  an
  1487.      Apple/Unix file is used for the HFS part of the CD. However,
  1488.      not all the Apple/Unix encodings store the HFS filename with
  1489.      the  finderinfo. In these cases, the Unix filename is used -
  1490.      with escaped special characters. Special characters  include
  1491.      '/' and characters with codes over 127.
  1492.  
  1493.      Aufs escapes these characters by using ":" followed  by  the
  1494.      character  code  as  two hex digits. Netatalk and EtherShare
  1495.      have a similar scheme, but uses "%" instead of a ":".
  1496.  
  1497.      If mkisofs can't find an HFS filename, then it uses the Unix
  1498.      name,  with any %xx or :xx characters (xx == two hex digits)
  1499.      converted to a single character code. If "xx"  are  not  hex
  1500.      digits  ([0-9a-fA-F]),  then  they are left alone - although
  1501.      any remaining ":" is converted to "%" as colon  is  the  HFS
  1502.      directory separator. Care must be taken, as an ordinary Unix
  1503.      file with %xx or :xx will also be converted. e.g.
  1504.  
  1505.      This:2fFile   converted to This/File
  1506.  
  1507.      This:File     converted to This%File
  1508.  
  1509.      This:t7File   converted to This%t7File
  1510.  
  1511.  
  1512.  
  1513.  
  1514.  
  1515. Version 1.13a01      Last change: 1 May 2000                   23
  1516.  
  1517.  
  1518.  
  1519.  
  1520.  
  1521.  
  1522. MKISOFS(8)           Maintenance Procedures            MKISOFS(8)
  1523.  
  1524.  
  1525.  
  1526.      Although HFS filenames appear to  support  upper  and  lower
  1527.      case  letters,  the filesystem is case insensitive. i.e. the
  1528.      filenames "aBc" and "AbC" are the same. If a file  is  found
  1529.      in  a  directory  with  the same HFS name, then _m_k_i_s_o_f_s will
  1530.      attempt, where possible, to make a unique name by adding '_'
  1531.      characters to one of the filenames.
  1532.  
  1533.      If an HFS filename exists for a file, then mkisofs  can  use
  1534.      this  name as the starting point for the ISO9660, Joliet and
  1535.      Rock Ridge filenames using the ----mmmmaaaacccc----nnnnaaaammmmeeee option. Normal Unix
  1536.      files  without  an  HFS name will still use their Unix name.
  1537.      e.g.
  1538.  
  1539.      If  a  _M_a_c_B_i_n_a_r_y  (or  _P_C  _E_x_c_h_a_n_g_e)  file  is   stored   as
  1540.      _s_o_m_e_i_m_a_g_e._g_i_f._b_i_n on the Unix filesystem, but contains a HFS
  1541.      file called _s_o_m_e_i_m_a_g_e._g_i_f, then this is the name that  would
  1542.      appear  on  the HFS part of the CD. However, as mkisofs uses
  1543.      the Unix name as the starting point  for  the  other  names,
  1544.      then   the   ISO9660   name   generated   will  probably  be
  1545.      _S_O_M_E_I_M_A_G._B_I_N   and   the   Joliet/Rock   Ridge   would    be
  1546.      _s_o_m_e_i_m_a_g_e._g_i_f._b_i_n.   Although the actual data (in this case)
  1547.      is a GIF image. This option will use the HFS filename as the
  1548.      starting  point  and  the  ISO9660  name  will  probably  be
  1549.      _S_O_M_E_I_M_A_G._G_I_F   and   the   Joliet/Rock   Ridge   would    be
  1550.      _s_o_m_e_i_m_a_g_e._g_i_f.
  1551.  
  1552.      Using the ----mmmmaaaacccc----nnnnaaaammmmeeee option will not currently work with the
  1553.      ---- TTTT  option  -  the  Unix name will be used in the TRANS.TBL
  1554.      file, not the Macintosh name.
  1555.  
  1556.      The existing mkisofs code will filter out any illegal  char-
  1557.      acters  for the ISO9660 and Joliet filenames, but as mkisofs
  1558.      expects to be dealing directly with Unix  names,  it  leaves
  1559.      the  Rock  Ridge  names  as  is.   But as '/' is a legal HFS
  1560.      filename character, the ----mmmmaaaacccc----nnnnaaaammmmeeee option converts '/'  to  a
  1561.      '_' in Rock Ridge filenames.
  1562.  
  1563.      If the Apple extensions are  used,  then  only  the  ISO9660
  1564.      filenames  will  appear  on  the  Macintosh. However, as the
  1565.      Macintosh ISO9660 drivers can use _L_e_v_e_l  _2  filenames,  then
  1566.      you can use options like ----aaaalllllllloooowwww----mmmmuuuullllttttiiiiddddooootttt without problems on
  1567.      a Macintosh - still take care over the  names,  for  example
  1568.      _t_h_i_s._f_i_l_e._n_a_m_e will be converted to _T_H_I_S._F_I_L_E i.e. only have
  1569.      one '.', also filename _a_b_c_d_e_f_g_h will be seen as _A_B_C_D_E_F_G_H but
  1570.      _a_b_c_d_e_f_g_h_i  will be seen as _A_B_C_D_E_F_G_H_I. i.e. with a '.' at the
  1571.      end  -  don't  know  if  this  is  a  Macintosh  problem  or
  1572.      mkisofs/mkhybrid problem. All filenames will be in uppercase
  1573.      when viewed on a Macintosh. Of course,  DOS/Win3.X  machines
  1574.      will not be able to see Level 2 filenames...
  1575.  
  1576.  
  1577.  
  1578.  
  1579.  
  1580.  
  1581. Version 1.13a01      Last change: 1 May 2000                   24
  1582.  
  1583.  
  1584.  
  1585.  
  1586.  
  1587.  
  1588. MKISOFS(8)           Maintenance Procedures            MKISOFS(8)
  1589.  
  1590.  
  1591.  
  1592. HHHHFFFFSSSS CCCCUUUUSSSSTTTTOOOOMMMM VVVVOOOOLLLLUUUUMMMMEEEE////FFFFOOOOLLLLDDDDEEEERRRR IIIICCCCOOOONNNNSSSS
  1593.      To give a HFS CD a custom icon,  make  sure  the  root  (top
  1594.      level)  folder  includes  a  standard  Macintosh volume icon
  1595.      file. To give a volume a custom icon on a Macintosh, an icon
  1596.      has  to  be  pasted over the volume's icon in the "Get Info"
  1597.      box of the volume. This creates  an  invisible  file  called
  1598.      'Icon\r'  ('\r'  is  the 'carriage return' character) in the
  1599.      root folder.
  1600.  
  1601.      A custom folder icon is very similar  -  an  invisible  file
  1602.      called 'Icon\r' exits in the folder itself.
  1603.  
  1604.      Probably the easiest  way  to  create  a  custom  icon  that
  1605.      mkisofs  can  use, is to format a blank HFS floppy disk on a
  1606.      Mac, paste an icon to its "Get Info"  box.  If  using  Linux
  1607.      with  the HFS module installed, mount the floppy using some-
  1608.      thing like:
  1609.  
  1610.                 mount -t hfs /dev/fd0 /mnt/floppy
  1611.  
  1612.      The floppy will be mounted as a CAP file system by  default.
  1613.      Then run mkisofs using something like:
  1614.  
  1615.                 mkisofs --cap -o output source_dir /mnt/floppy
  1616.  
  1617.      If you are not using Linux, then you can use the hfsutils to
  1618.      copy  the icon file from the floppy. However, care has to be
  1619.      taken, as the icon file contains a control character. e.g.
  1620.  
  1621.                 hmount /dev/fd0
  1622.                 hdir -a
  1623.                 hcopy -m Icon^V^M icon_dir/icon
  1624.  
  1625.      Where '^V^M' is control-V followed by  control-M.  Then  run
  1626.      mmmmkkkkiiiissssooooffffssss by using something like:
  1627.  
  1628.                 mkisofs --macbin -o output source_dir icon_dir
  1629.  
  1630.      The procedure for creating/using custom folder icons is very
  1631.      similar  -  paste  an  icon  to  folder's "Get Info" box and
  1632.      transfer the resulting 'Icon\r' file to the relevant  direc-
  1633.      tory in the mkisofs source tree.
  1634.  
  1635.      You may want to hide the icon files  from  the  ISO9660  and
  1636.      Joliet trees.
  1637.  
  1638.      To give a custom icon to a Joliet CD,  follow  the  instruc-
  1639.      tions                        found                       at:
  1640.      http://www.fadden.com/cdrfaq/faq03.html#[3-21]
  1641.  
  1642.  
  1643.  
  1644.  
  1645.  
  1646.  
  1647. Version 1.13a01      Last change: 1 May 2000                   25
  1648.  
  1649.  
  1650.  
  1651.  
  1652.  
  1653.  
  1654. MKISOFS(8)           Maintenance Procedures            MKISOFS(8)
  1655.  
  1656.  
  1657.  
  1658. HHHHFFFFSSSS BBBBOOOOOOOOTTTT DDDDRRRRIIIIVVVVEEEERRRR
  1659.      It _m_a_y be possible to make  the  hybrid  CD  bootable  on  a
  1660.      Macintosh.
  1661.  
  1662.      A bootable HFS CD requires an Apple CD-ROM  (or  compatible)
  1663.      driver,  a  bootable HFS partition and the necessary System,
  1664.      Finder, etc. files.
  1665.  
  1666.      A driver can be obtained from any other  Macintosh  bootable
  1667.      CD-ROM using the _a_p_p_l_e__d_r_i_v_e_r utility. This file can then be
  1668.      used with the ----bbbbooooooootttt----hhhhffffssss----ffffiiiilllleeee option.
  1669.  
  1670.      The HFS partition (i.e. the hybrid disk in  our  case)  must
  1671.      contain  a suitable System Folder, again from another CD-ROM
  1672.      or disk.
  1673.  
  1674.      For a partition to be bootable, it must have it's _b_o_o_t _b_l_o_c_k
  1675.      set.  The  boot block is in the first two blocks of a parti-
  1676.      tion. For a non-bootable partition the boot block is full of
  1677.      zeros.  Normally,  when a System file is copied to partition
  1678.      on a Macintosh disk, the boot block is filled with a  number
  1679.      of  required  settings - unfortunately I don't know the full
  1680.      spec for the boot block, so I'm guessing that the  following
  1681.      will work OK.
  1682.  
  1683.      Therefore, the utility _a_p_p_l_e__d_r_i_v_e_r also extracts  the  boot
  1684.      block  from  the  first  HFS partition it finds on the given
  1685.      CD-ROM and this is used for the  HFS  partition  created  by
  1686.      mmmmkkkkiiiissssooooffffssss.
  1687.  
  1688.      PLEASE NOTE
  1689.           By using a driver from an Apple CD  and  copying  Apple
  1690.           software  to  your  CD, you become liable to obey Apple
  1691.           Computer, Inc. Software License Agreements.
  1692.  
  1693. EEEELLLL TTTTOOOORRRRIIIITTTTOOOO BBBBOOOOOOOOTTTT IIIINNNNFFFFOOOORRRRMMMMAAAATTTTIIIIOOOONNNN TTTTAAAABBBBLLLLEEEE
  1694.      When the ----bbbbooooooootttt----iiiinnnnffffoooo----ttttaaaabbbblllleeee  option  is  given,  mmmmkkkkiiiissssooooffffssss  will
  1695.      modify the boot file specified by the ----bbbb option by inserting
  1696.      a 56-byte "boot information table" at offset 8 in the  file.
  1697.      This  modification is done in the source filesystem, so make
  1698.      sure you use a copy if this file is  not  easily  recreated!
  1699.      This file contains pointers which may not be easily or reli-
  1700.      ably obtained at boot time.
  1701.  
  1702.      The format of this table is as follows; all integers are  in
  1703.      section 7.3.1 ("little endian") format.
  1704.  
  1705.        Offset    Name           Size      Meaning
  1706.         8        bi_pvd         4 bytes   LBA of primary volume descriptor
  1707.        12        bi_file        4 bytes   LBA of boot file
  1708.        16        bi_length      4 bytes   Boot file length in bytes
  1709.        20        bi_csum        4 bytes   32-bit checksum
  1710.  
  1711.  
  1712.  
  1713. Version 1.13a01      Last change: 1 May 2000                   26
  1714.  
  1715.  
  1716.  
  1717.  
  1718.  
  1719.  
  1720. MKISOFS(8)           Maintenance Procedures            MKISOFS(8)
  1721.  
  1722.  
  1723.  
  1724.        24        bi_reserved    40 bytes  Reserved
  1725.  
  1726.      The 32-bit checksum is the sum of all the  32-bit  words  in
  1727.      the  boot file starting at byte offset 64.  All linear block
  1728.      addresses (LBAs) are given  in  CD  sectors  (normally  2048
  1729.      bytes).
  1730.  
  1731. CCCCOOOONNNNFFFFIIIIGGGGUUUURRRRAAAATTTTIIIIOOOONNNN
  1732.      mmmmkkkkiiiissssooooffffssss looks for the ....mmmmkkkkiiiissssooooffffssssrrrrcccc file, first in the  current
  1733.      working  directory,  then  in the user's home directory, and
  1734.      then in the directory in which the mmmmkkkkiiiissssooooffffssss binary is stored.
  1735.      This  file  is  assumed  to contain a series of lines of the
  1736.      form TTTTAAAAGGGG====_v_a_l_u_e, and in this  way  you  can  specify  certain
  1737.      options.   The  case  of  the  tag is not significant.  Some
  1738.      fields in the volume header are not settable on the  command
  1739.      line,  but  can  be altered through this facility.  Comments
  1740.      may be placed in this file, using lines which start  with  a
  1741.      hash (#) character.
  1742.  
  1743.      AAAAPPPPPPPPIIII The application identifier should describe the applica-
  1744.           tion  that  will be on the disc.  There is space on the
  1745.           disc for 128 characters of information.  May  be  over-
  1746.           ridden using the ----AAAA command line option.
  1747.  
  1748.      CCCCOOOOPPPPYYYY The copyright information, often the name of a file  on
  1749.           the  disc  containing  the  copyright notice.  There is
  1750.           space in the disc for  37  characters  of  information.
  1751.           May  be  overridden  using  the ----ccccooooppppyyyyrrrriiiigggghhhhtttt command line
  1752.           option.
  1753.  
  1754.      AAAABBBBSSSSTTTT The abstract information, often the name of a  file  on
  1755.           the disc containing an abstract.  There is space in the
  1756.           disc for 37 characters of information.  May be overrid-
  1757.           den using the ----aaaabbbbssssttttrrrraaaacccctttt command line option.
  1758.  
  1759.      BBBBIIIIBBBBLLLL The bibliographic information, often the name of a file
  1760.           on  the disc containing a bibliography.  There is space
  1761.           in the disc for 37 characters of information.   May  be
  1762.           overridden using the ----bbbbiiiilllliiiioooo command line option.
  1763.  
  1764.      PPPPRRRREEEEPPPP This should describe the preparer of the CDROM, usually
  1765.           with  a  mailing  address  and  phone number.  There is
  1766.           space on the disc for 128  characters  of  information.
  1767.           May be overridden using the ----pppp command line option.
  1768.  
  1769.      PPPPUUUUBBBBLLLL This should describe the publisher of the  CDROM,  usu-
  1770.           ally with a mailing address and phone number.  There is
  1771.           space on the disc for 128  characters  of  information.
  1772.           May be overridden using the ----PPPP command line option.
  1773.  
  1774.      SSSSYYYYSSSSIIII The System Identifier.  There is space on the disc  for
  1775.           32  characters of information.  May be overridden using
  1776.  
  1777.  
  1778.  
  1779. Version 1.13a01      Last change: 1 May 2000                   27
  1780.  
  1781.  
  1782.  
  1783.  
  1784.  
  1785.  
  1786. MKISOFS(8)           Maintenance Procedures            MKISOFS(8)
  1787.  
  1788.  
  1789.  
  1790.           the ----ssssyyyyssssiiiidddd command line option.
  1791.  
  1792.      VVVVOOOOLLLLIIII The Volume Identifier.  There is space on the disc  for
  1793.           32  characters of information.  May be overridden using
  1794.           the ----VVVV command line option.
  1795.  
  1796.      VVVVOOOOLLLLSSSS The Volume Set Name.  There is space on  the  disc  for
  1797.           128 characters of information.  May be overridden using
  1798.           the ----vvvvoooollllsssseeeetttt command line option.
  1799.  
  1800.      HHHHFFFFSSSS____TTTTYYYYPPPPEEEE
  1801.           The default TYPE for Macintosh files. Must be exactly 4
  1802.           characters.  May be overridden using the ----hhhhffffssss----ttttyyyyppppeeee com-
  1803.           mand line option.
  1804.  
  1805.      HHHHFFFFSSSS____CCCCRRRREEEEAAAATTTTOOOORRRR
  1806.           The  default  CREATOR  for  Macintosh  files.  Must  be
  1807.           exactly  4  characters.   May be overridden using the ----
  1808.           hhhhffffssss----ccccrrrreeeeaaaattttoooorrrr command line option.
  1809.  
  1810.      mmmmkkkkiiiissssooooffffssss can also be configured at compile time with defaults
  1811.      for many of these fields.  See the file defaults.h.
  1812.  
  1813.  
  1814. EEEEXXXXAAAAMMMMPPPPLLLLEEEESSSS
  1815.      To create a vanilla ISO-9660 filesystem image  in  the  file
  1816.      _c_d._i_s_o,  where  the  directory  _c_d__d_i_r  will become the root
  1817.      directory if the CD, call:
  1818.  
  1819.      % mkisofs -o cd.iso cd_dir
  1820.  
  1821.      To create a HFS hybrid CD with Rock Ridge extensions of  the
  1822.      source directory _c_d__d_i_r:
  1823.  
  1824.      % mkisofs -o cd.iso -R cd_dir
  1825.  
  1826.      To create a HFS hybrid CD with Rock Ridge extensions of  the
  1827.      source  directory  _c_d__d_i_r where all files have at least read
  1828.      permission and all files are owned by _r_o_o_t, call:
  1829.  
  1830.      % mkisofs -o cd.iso -r cd_dir
  1831.  
  1832.      To create a HFS hybrid CD with the  Joliet  and  Rock  Ridge
  1833.      extensions of the source directory _c_d__d_i_r:
  1834.  
  1835.      % mkisofs -o cd.iso -R -J -hfs cd_dir
  1836.  
  1837.      To create a HFS hybrid CD from the source  directory  _c_d__d_i_r
  1838.      that contains Netatalk Apple/Unix files:
  1839.  
  1840.      % mkisofs -o cd.iso --netatalk cd_dir
  1841.  
  1842.  
  1843.  
  1844.  
  1845. Version 1.13a01      Last change: 1 May 2000                   28
  1846.  
  1847.  
  1848.  
  1849.  
  1850.  
  1851.  
  1852. MKISOFS(8)           Maintenance Procedures            MKISOFS(8)
  1853.  
  1854.  
  1855.  
  1856.      To create a HFS hybrid CD from the source directory  _c_d__d_i_r,
  1857.      giving  all  files  CREATOR  and  TYPES  based on just their
  1858.      filename extensions listed in the file "mapping".:
  1859.  
  1860.      % mkisofs -o cd.iso -map mapping cd_dir
  1861.  
  1862.      To create a CD with the 'Apple Extensions to ISO9660',  from
  1863.      the source directories _c_d__d_i_r and _a_n_o_t_h_e_r__d_i_r.  Files in all
  1864.      the known Apple/Unix format are decoded and any other  files
  1865.      are given CREATOR and TYPE based on their magic number given
  1866.      in the file "magic":
  1867.  
  1868.      % mkisofs -o cd.iso -apple -magic magic -probe \
  1869.              cd_dir another_dir
  1870.  
  1871.      The following example puts different files on  the  CD  that
  1872.      all  have  the name README, but have different contents when
  1873.      seen as a ISO9660/RockRidge, Joliet or HFS CD.
  1874.  
  1875.      Current directory contains:
  1876.  
  1877.      % ls -F
  1878.      README.hfs     README.joliet  README.unix    cd_dir/
  1879.  
  1880.      The following command puts the  contents  of  the  directory
  1881.      _c_d__d_i_r  on  the  CD  along with the three README files - but
  1882.      only one will be seen from each of the three filesystems:
  1883.  
  1884.      % mkisofs -o cd.iso -hfs -J -r \
  1885.              -hide README.hfs -hide README.joliet \
  1886.              -hide-joliet README.hfs -hide-joliet README.unix \
  1887.              -hide-hfs README.joliet -hide-hfs README.unix \
  1888.              README=README.hfs README=README.joliet \
  1889.              README=README.unix cd_dir
  1890.  
  1891.      i.e. the file README.hfs will be seen as README on  the  HFS
  1892.      CD  and the other two README files will be hidden. Similarly
  1893.      for the Joliet and ISO9660/RockRidge CD.
  1894.  
  1895.      There are probably all sorts  of  strange  results  possible
  1896.      with combinations of the hide options ...
  1897.  
  1898.  
  1899. AAAAUUUUTTTTHHHHOOOORRRR
  1900.      mmmmkkkkiiiissssooooffffssss is not based on the standard mk*fs tools  for  unix,
  1901.      because  we  must  generate  a complete  copy of an existing
  1902.      filesystem on a disk in the  iso9660 filesystem.   The  name
  1903.      mkisofs  is  probably a bit of a misnomer, since it not only
  1904.      creates the filesystem, but it also populates  it  as  well.
  1905.      However,  the  appropriate  tool  name  for a UNIX tool that
  1906.      creates populated filesystems - mkproto - is not well known.
  1907.  
  1908.  
  1909.  
  1910.  
  1911. Version 1.13a01      Last change: 1 May 2000                   29
  1912.  
  1913.  
  1914.  
  1915.  
  1916.  
  1917.  
  1918. MKISOFS(8)           Maintenance Procedures            MKISOFS(8)
  1919.  
  1920.  
  1921.  
  1922.      Eric Youngdale <ericy@gnu.ai.mit.edu> or  <eric@andante.org>
  1923.      wrote  the  first  versions  (1993  ... 1998) of the mkisofs
  1924.      utility.  The copyright for  old  versions  of  the  mkisofs
  1925.      utility is held by Yggdrasil Computing, Incorporated.  Joerg
  1926.      Schilling wrote the SCSI transport library and it's  adapta-
  1927.      tion  layer  to mmmmkkkkiiiissssooooffffssss and newer parts (starting from 1999)
  1928.      of the utility, this makes mmmmkkkkiiiissssooooffffssss Copyright (C) 1999,  2000
  1929.      Joerg Schilling.
  1930.  
  1931.      HFS hybrid code Copyright  (C)  James  Pearson  1997,  1998,
  1932.      1999, 2000
  1933.      libhfs code Copyright (C) 1996, 1997 Robert Leslie
  1934.      libfile code Copyright (C) Ian F. Darwin 1986,  1987,  1989,
  1935.      1990, 1991, 1992, 1994, 1995.
  1936.  
  1937. NNNNOOOOTTTTEEEESSSS
  1938.      MMMMkkkkiiiissssooooffffssss may safely be  installed  suid  root.  This  may  be
  1939.      needed  to  allow  mmmmkkkkiiiissssooooffffssss to read the previous session when
  1940.      creating a multi session image.
  1941.  
  1942. BBBBUUUUGGGGSSSS
  1943.      +o     Any files that have hard links to  files  not  in  the
  1944.           tree  being  copied to the iso9660 filesystem will have
  1945.           an incorrect file reference count.
  1946.  
  1947.      +o     Does not check for SUSP record(s) in "." entry of  the
  1948.           root  directory  to  verify the existence of Rock Ridge
  1949.           enhancements.
  1950.  
  1951.           This problem is present when reading old sessions while
  1952.           adding data in multi-session mode.
  1953.  
  1954.       +o     Does  not  properly  read  relocated  directories  in
  1955.           multi-session mode when adding data.
  1956.  
  1957.           Any relocated deep directory is lost if the new session
  1958.           does not include the deep directory.
  1959.  
  1960.           Repeat by: create first  session  with  deep  directory
  1961.           relocation  then add new session with a single dir that
  1962.           differs from the old deep path.
  1963.  
  1964.      +o     Does not re-use RR_MOVED when doing multi-session from
  1965.           TRANS.TBL
  1966.  
  1967.      +o     Does not  create  whole_name  entry  for  RR_MOVED  in
  1968.           multi-session mode.
  1969.  
  1970.      There may be some other ones.  Please, report  them  to  the
  1971.      author.
  1972.  
  1973.  
  1974.  
  1975.  
  1976.  
  1977. Version 1.13a01      Last change: 1 May 2000                   30
  1978.  
  1979.  
  1980.  
  1981.  
  1982.  
  1983.  
  1984. MKISOFS(8)           Maintenance Procedures            MKISOFS(8)
  1985.  
  1986.  
  1987.  
  1988. HHHHFFFFSSSS PPPPRRRROOOOBBBBLLLLEEEEMMMMSSSS////LLLLIIIIMMMMIIIITTTTAAAATTTTIIIIOOOONNNNSSSS
  1989.      I have had to make several assumptions on how I  expect  the
  1990.      modified  libhfs  routines  to  work,  however  there may be
  1991.      situations that either I haven't thought of, or come  across
  1992.      when  these  assumptions  fail.  Therefore I can't guarantee
  1993.      that mkisofs will work as expected (although I haven't had a
  1994.      major problem yet). Most of the HFS features work fine, how-
  1995.      ever, some are not fully tested. These are marked  as  _A_l_p_h_a
  1996.      above.
  1997.  
  1998.      Although HFS filenames appear to  support  upper  and  lower
  1999.      case  letters,  the filesystem is case insensitive. i.e. the
  2000.      filenames "aBc" and "AbC" are the same. If a file  is  found
  2001.      in  a  directory  with  the same HFS name, then _m_k_i_s_o_f_s will
  2002.      attempt, where possible, to make a unique name by adding '_'
  2003.      characters to one of the filenames.
  2004.  
  2005.      HFS file/directory names that share the first 31  characters
  2006.      have  _N' (N == decimal number) substituted for the last few
  2007.      characters to generate unique names.
  2008.  
  2009.      Care must be  taken  when  "grafting"  Apple/Unix  files  or
  2010.      directories  (see above for the method and syntax involved).
  2011.      It is not possible to use  a  new  name  for  an  Apple/Unix
  2012.      encoded  file/directory.  e.g.  If a Apple/Unix encoded file
  2013.      called "oldname" is to added to the CD, then you can not use
  2014.      the command line:
  2015.  
  2016.           mkisofs -o output.raw -hfs newname=oldname cd_dir
  2017.  
  2018.      mkisofs will be unable to decode "oldname". However, you can
  2019.      graft Apple/Unix encoded files or directories as long as you
  2020.      do not attempt to give them new names as above.
  2021.  
  2022.      When creating an HFS volume with the multisession options, ----
  2023.      MMMM  and ----CCCC, only files in the last session will be in the HFS
  2024.      volume. i.e. mkisofs can not _a_d_d existing files from  previ-
  2025.      ous sessions to the HFS volume.
  2026.  
  2027.      Symbolic links (as with all other non-regular files) are not
  2028.      added to the HFS directory.
  2029.  
  2030.      Hybrid volumes may be larger than pure ISO9660 volumes  con-
  2031.      taining the same data.
  2032.  
  2033.      The resulting hybrid  volume  can  be  accessed  on  a  Unix
  2034.      machine  by using the hfsutils routines. However, no changes
  2035.      should be made to the contents of the volume as it's  not  a
  2036.      "real" HFS volume.
  2037.  
  2038.      Using the ----mmmmaaaacccc----nnnnaaaammmmeeee option will not currently work with the
  2039.      ---- TTTT  option  -  the  Unix name will be used in the TRANS.TBL
  2040.  
  2041.  
  2042.  
  2043. Version 1.13a01      Last change: 1 May 2000                   31
  2044.  
  2045.  
  2046.  
  2047.  
  2048.  
  2049.  
  2050. MKISOFS(8)           Maintenance Procedures            MKISOFS(8)
  2051.  
  2052.  
  2053.  
  2054.      file, not the Macintosh name.
  2055.  
  2056.      Although mmmmkkkkiiiissssooooffffssss does not alter the contents of a file, if a
  2057.      binary  file  has  it's  TYPE  set as 'TEXT', it _m_a_y be read
  2058.      incorrectly on a Macintosh. Therefore a  better  choice  for
  2059.      the default TYPE may be '????'
  2060.  
  2061.      The ----mmmmaaaacccc----bbbbooooooootttt----ffffiiiilllleeee option may not work at all...
  2062.  
  2063.      May not work with PC Exchange v2.2 or higher  files  (avail-
  2064.      able  with  MacOS  8.1).   DOS  media containing PC Exchange
  2065.      files should be mounted as type mmmmssssddddoooossss (not vvvvffffaaaatttt) when  using
  2066.      Linux.
  2067.  
  2068.      The SFM format is only partially supported - see HHHHFFFFSSSS  MMMMAAAACCCCIIIINNNN----
  2069.      TTTTOOOOSSSSHHHH FFFFIIIILLLLEEEE FFFFOOOORRRRMMMMAAAATTTTSSSS section above.
  2070.  
  2071.      It is not possible to use the the ----ssssppppaaaarrrrcccc----bbbbooooooootttt or  ---- ggggeeeennnneeeerrrriiiicccc----
  2072.      bbbbooooooootttt options with the ----bbbbooooooootttt----hhhhffffssss----ffffiiiilllleeee or ----pppprrrreeeepppp----bbbbooooooootttt options.
  2073.  
  2074.  
  2075. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  2076.      ccccddddrrrreeeeccccoooorrrrdddd((((1111)))) mmmmaaaaggggiiiicccc(5), aaaapppppppplllleeee____ddddrrrriiiivvvveeeerrrr(8)
  2077.  
  2078.  
  2079. FFFFUUUUTTTTUUUURRRREEEE IIIIMMMMPPPPRRRROOOOVVVVEEEEMMMMEEEENNNNTTTTSSSS
  2080.      Some sort of gui interface.
  2081.  
  2082. AAAAVVVVAAAAIIIILLLLAAAABBBBIIIILLLLIIIITTTTYYYY
  2083.      mmmmkkkkiiiissssooooffffssss is available as part of the  cdrecord  package  from
  2084.      ftp://ftp.fokus.gmd.de/pub/unix/cdrecord/    hhhhffffssssuuuuttttiiiillllssss   from
  2085.      ftp://ftp.mars.org/pub/hfs
  2086.  
  2087. MMMMAAAAIIIILLLLIIIINNNNGGGG LLLLIIIISSSSTTTTSSSS
  2088.      If you want to actively take  part  on  the  development  of
  2089.      mkisofs, and/or mkhybrid, you may join the cdwriting mailing
  2090.      list by sending mail to:
  2091.  
  2092.                other-cdwrite-request@lists.debian.org
  2093.  
  2094.      and include the  word  _s_u_b_s_c_r_i_b_e  in  the  body.   The  mail
  2095.      address of the list is:
  2096.  
  2097.                cdwrite@lists.debian.org
  2098.  
  2099.  
  2100. MMMMAAAAIIIINNNNTTTTAAAAIIIINNNNEEEERRRR
  2101.      Joerg Schilling
  2102.      Seestr. 110
  2103.      D-13353 Berlin
  2104.      Germany
  2105.  
  2106.  
  2107.  
  2108.  
  2109. Version 1.13a01      Last change: 1 May 2000                   32
  2110.  
  2111.  
  2112.  
  2113.  
  2114.  
  2115.  
  2116. MKISOFS(8)           Maintenance Procedures            MKISOFS(8)
  2117.  
  2118.  
  2119.  
  2120. HHHHFFFFSSSS MMMMKKKKHHHHYYYYBBBBRRRRIIIIDDDD MMMMAAAAIIIINNNNTTTTAAAAIIIINNNNEEEERRRR
  2121.      James Pearson
  2122.  
  2123.      j.pearson@ge.ucl.ac.uk
  2124.  
  2125.  
  2126.      Mail bugs and suggestions to:
  2127.  
  2128.      sssscccchhhhiiiilllllllliiiinnnngggg@@@@ffffooookkkkuuuussss....ggggmmmmdddd....ddddeeee     or     jjjjssss@@@@ccccssss....ttttuuuu----bbbbeeeerrrrlllliiiinnnn....ddddeeee      or
  2129.      jjjjooooeeeerrrrgggg@@@@sssscccchhhhiiiillllyyyy....iiiissssddddnnnn....ccccssss....ttttuuuu----bbbbeeeerrrrlllliiiinnnn....ddddeeee
  2130.  
  2131.  
  2132.  
  2133.  
  2134.  
  2135.  
  2136.  
  2137.  
  2138.  
  2139.  
  2140.  
  2141.  
  2142.  
  2143.  
  2144.  
  2145.  
  2146.  
  2147.  
  2148.  
  2149.  
  2150.  
  2151.  
  2152.  
  2153.  
  2154.  
  2155.  
  2156.  
  2157.  
  2158.  
  2159.  
  2160.  
  2161.  
  2162.  
  2163.  
  2164.  
  2165.  
  2166.  
  2167.  
  2168.  
  2169.  
  2170.  
  2171.  
  2172.  
  2173.  
  2174.  
  2175. Version 1.13a01      Last change: 1 May 2000                   33
  2176.  
  2177.  
  2178.  
  2179.